extrastu / api

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.

URL to Markdown

/html?url=https://baoyu.io/blog/prompt-engineering/tutor-me-prompt

πŸ‘ Thanks

About


Languages

Language:TypeScript 99.7%Language:Procfile 0.3%