Skip to content

basic use and structure of Backend with Expressjs, MongoDB, Mongoose, MVC architecture, etc.

Notifications You must be signed in to change notification settings

pratikkatkar-13/ToDo_app_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDo_app_backend

npm init -y - To install all package.json file npm i express - To install all nodes modules and express node .js - Generally to run all the server

npm i nodemon - Same as frontend liveserver auto sync and up to date makes changes in pacakage.json files as follows: "scripts": { "start": "node index.js", "dev": "nodemon index.js" }, npm run dev - to run server

npm i dotenv - to export enviornment variables seperately npm mongoose - to connect server or application with MongoDB database

Additionally project needs

  1. MongoDB setup
  2. MongoDB Shell
  3. MongoDB compass
  4. Postman API setup

//routes to test http://localhost:3000/api/v1/createTodo http://localhost:3000/api/v1/GetTodo http://localhost:3000/api/v1/getTodo/:id http://localhost:3000/api/v1/updateTodo/:id http://localhost:3000/api/v1/deleteTodo/:id

About

basic use and structure of Backend with Expressjs, MongoDB, Mongoose, MVC architecture, etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published