end point | method | action |
---|---|---|
/login | POST | login with existing user |
/sign-up | POST | create new user |
/me | GET | get user profile |
/logout | POST | log out |
end point | method | action |
---|---|---|
/todolist | POST | create todo list for the user |
/todolist | GET | get all todo list of the user |
/todolist/:id | GET | get todo list with specific id |
/todolist/:id | DELETE | DELETE Todo list |
/todolist/:id | PUT | Update todo list |
end point | method | action |
---|---|---|
/:id/todo | POST | create todo in specific todolist |
/:id/todo | GET | get all todo in todo list |
/todo/:id | GET | get todo with specific id |
/todo/:id | DELETE | DELETE Todo |
/todo/:id | PUT | Update todo |
- Clone the repo
- npm i
- Add .env file with the variables mentioned in .env.sample
- npm start
- Postman collection is available at public/docs directory