Pomotodoro REST API

A REST api for Pomotodoro app having authentication using JWT, CRUD functionalities.


Development Mode

  • Clone the project.
  • Use npm install to install all the required packages.
  • Start project in dev mode with live server and hot-reload using npm run dev.

Production mode

  • Add the github link to any service provider like Heroku or while deploying using bare metal like AWS EC2 then add the following environment variables to the project.
JWT_SECRET="add secret here"
JWT_EXPIRES_IN="add expiration here"
MONGODB_URI="add mongoose uri here"