A really basic API template powered by:
npm run lint
(format + lint)npm run build
(runstsc
)npm run watch
(same as build with "watch" option)npm run start
(starts the server withnodemon
with hot reload for typescript, thanks tots-node
)npm run test
(guess what? :) )
- More basic endpoints (POST, PUT etc.)
- Request and response handlers
- Request validation
- ... (feel free to open issues to suggest improvements)