Skip to content

nstack-in/todo-api-node-js-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo API Node.js and Mongo DB

Youtube Video

List of endpoints

Postman API Documentation

Request Method Endpoint Description
GET /todo Get all todos
POST /todo/create Create a todo
PUT /todos/:id Update a todo
DELTE /todos/:id Delete a todo

Steps to setup in locallly

  1. Clone the repository
  git clone https://github.com/nstack-in/todo-api-node-js-mongo.git
  1. Install dependencies
npm install
  1. Modily .env file and add your mongodb server url
  2. Run the server
npm start

List of dependencies

Dependency Version Description
express 4.17.1 Node.js web application framework
mongoose 6.0.5 MongoDB object modeling tool for Node.js
dotenv 10.0.0 Load environment variables from a .env file into process.env
nodemon 2.0.12 Node.js runtime monitor and restart server

List of authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published