Skip to content

code-raushan/CRUD-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD-backend

Created Using Node.js, Express(Node Web Framework), Mongoose(MongoDB ODM)

  • An organised CRUD Backend built to learn fundamental operations on Database using Node.

All folders are organised professionally.

app.js contains the express app created using const app = express() and the routing middleware.

server.js is the express server created on app.js.

models folder contains userModel.js that contains schema and database modelcreated usingMongoose`.

controllers folder contains all the business logic, mainly the routing functions creating and interacting with db model made in model folder.

routes folder contains all the router methods used from the routing functions of the controllers

config contains db.js file that has database connection function that is passed to the app.js.

About

The backend of a CRUD application made using Express and Mongoose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors