Skip to content

afrittella/fastify-typescript-starter

Folders and files

NameName
Last commit message
Last commit date
Aug 24, 2022
Feb 16, 2022
Feb 16, 2022
Feb 16, 2022
Feb 16, 2022
Feb 16, 2022
Feb 16, 2022
Feb 16, 2022
Oct 11, 2022
Oct 11, 2022
Feb 16, 2022
Feb 16, 2022

Repository files navigation

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)