Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 391 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 391 Bytes

Task API

Installation

  1. Create a MongoDB and enter the MONGODB connection URI in .env file
  2. Run npm install
  3. Run npm run start:dev to start the server

Endpoint

  1. Get all tasks GET request - /api/v1/tasks
  2. Create a task POST request - /api/v1/tasks
  3. Update a task PATCH request - /api/v1/tasks/:id
  4. Delete a task DELETE request - /api/v1/tasks/:id