Skip to content

Latest commit

 

History

History
executable file
·
32 lines (17 loc) · 581 Bytes

README.md

File metadata and controls

executable file
·
32 lines (17 loc) · 581 Bytes

TodoApp using Node.js

Run:

npm start

Test:

npm test

Sample:

Use Postman and meet me here

API Documentation:

POST /user - Create a new user

GET /user/me - Verify the auth token

POST /user/login - Login user

DELETE /user/me/token - Delete the auth token

POST /todo - Create a task for a user

GET /todos - Get the list of tasks of a user

GET /todo/:id - Get a user task using task id

DELETE /todo/:id - Delete a user task

PATH /todo/:id - Update a user task