Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 749 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 749 Bytes

Fastify + Typescript starter

A really basic API template powered by:

Available scripts:

  • npm run lint (format + lint)
  • npm run build (runs tsc)
  • npm run watch (same as build with "watch" option)
  • npm run start (starts the server with nodemon with hot reload for typescript, thanks to ts-node)
  • npm run test (guess what? :) )

Next steps

  • More basic endpoints (POST, PUT etc.)
  • Request and response handlers
  • Request validation
  • ... (feel free to open issues to suggest improvements)