Skip to content

Repository files navigation

Express + TypeScript Starter

Setup

pnpm install

Server on http://localhost:3000 (override with PORT).

Scripts

  • pnpm dev
  • pnpm build
  • pnpm start
  • pnpm lint
  • pnpm lint:fix
  • pnpm test
  • pnpm test:e2e

Routes

  • GET / { "message": "Hello, World!" }
  • GET /health { "status": "ok", "uptime": <seconds>, "timestamp": "<ISO date>" }

Errors

Endpoints go through a single global error-handling middleware (src/common/middleware/error-handler.ts) to normalize responses.

{
  "statusCode": 404,
  "timestamp": "2026-08-07T12:00:00.000Z",
  "path": "/unknown",
  "message": "Cannot GET /unknown"
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages