Skip to content

majjikishore007/TodoApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo app

This is a simple Todo app with the following features

  • 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

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

Tech-stack

  • Nodejs
  • Expressjs
  • MongoDB