Skip to content

zaid-24/Todolist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todolist-backend

To start the server run npm i
To install node modules then run npm install express body-parser mongoose --save

To run the server use - node index.js

Our todo API will have the following endpoints

GET /todos //getting all todos POST /todos //adding a new todo PUT /todos/:id //updating a todo with the matching id DELETE /todos/:id/delete //deleting a todo with matching id