Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 871 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 871 Bytes

ExpressJS API Example

This example starts an ExpressJS server written in TypeScript.

Deploy on Railway

✨ Features

  • Express
  • TypeScript

💁‍♀️ How to use

  • Install dependencies yarn
  • Connect to your Railway project railway link
  • Start the development server railway run yarn dev

📝 Notes

The server started simply returns a healthcheck status: "ok" payload in JSON. The server code is located in src/index.ts.

A versioned API route is available in src/api.ts and example function hello at /api/v1/hello.

👏 Thanks