This example starts an ExpressJS server written in TypeScript.
- Express
- TypeScript
- Install dependencies
yarn
- Connect to your Railway project
railway link
- Start the development server
railway run yarn dev
The server started simply returns a body: "Hello world!"
payload in JSON. The server code is located in src/index.ts
.