Skip to content
This repository was archived by the owner on Mar 16, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (30 loc) · 990 Bytes

File metadata and controls

44 lines (30 loc) · 990 Bytes

Build Status Coverage Status HitCount contributions welcome

Node backend with fastify

  • framework: Fastify
  • database: MongoDB + Mongoose
  • API: Swagger(Open API)

Command

To start server with Nodemon

yarn start

To view api documentation

  • start server
  • go to localhost:3000/documentation

Run test

yarn test

To debug in VSCODE

  • Start app in debug mode with Nodemon
yarn debug
  • Place breakpoint
  • Hit REST with curl, e.g.
curl localhost:3000/product