Skip to content

abhin1509/Todo-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo-api

Instructions:
  1. Step to install npm package.
npm install
  1. Step to create .env
create .env file and add DB_CONNECTION=dbURI, replace dbURI with mongodb credentials
  1. Step to run
node app.js
Method and Url:
  1. Create a list: POST
http://localhost:3000/api/v1/list/new
  1. Show all lists: GET
http://localhost:3000/api/v1/list
  1. Update a list: PUT
http://localhost:3000/api/v1/list/[id]
  1. Delete a list: DEL
http://localhost:3000/api/v1/list/[id]

Example Body in JSON

{
    "name":"Learn python",
    "description":"refer course in udemy"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published