motleydev / express-server-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:TypeScript 98.5%Language:Procfile 1.5%