- Create a MongoDB and enter the MONGODB connection URI in .env file
- Run
npm install
- Run
npm run start:dev
to start the server
- Get all tasks
GET
request -/api/v1/tasks
- Create a task
POST
request -/api/v1/tasks
- Update a task
PATCH
request -/api/v1/tasks/:id
- Delete a task
DELETE
request -/api/v1/tasks/:id