This repo contains Todo-api built with ExpressJS
This is a simple demonstrate how to build api using Node and Mongo. In this I will be building A simple todo api.
/api/todos
List All Todosapi/todos
Create New Todoapi/todos/todoId
Retrieve a Todoapi/todos/todoId
Update Todoapi/todos/todoId
Delete a Todo(type:string)
(type:Boolean)
(type:Date)
npm init
this will initialize.It contains meta data of our projectnpm install express
.touch index.js
.index.js
file