- User authentication using JWT and cookies
- A todo endpoint which can add, delete, update and list all todos for a spfc. user
- Todo endpoint will be only for signed in users
Endpoints | Description |
---|---|
/api/signup | To signup new user |
/api/signin | To signin an existing user |
/api/signout | To sigout a user |
/todo/create/:userId-(post) | for createing a new Todo item |
/todo/:todoId/:userId-(get) | To get a specific Todo item |
/todo/:todoId/:userId-(put) | for updating an existing Todo item |
/todo/:todoId/:userId-(delete) | for deleting an existing Todo item |
/tods/:userId-(get) | for getting a list of Todos of a specific user |
- Nodejs
- Expressjs
- MongoDB