ThakurSaad / inventory-management-acc

close to industry level backend project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inventory Management

Live server

This is my first project where I am designing the Schema and using MVC-Architecture. Mongoose is used here to develope the project efficiently and giving it an industry level feel.

Topics covered

I used Service Layer Architecture with MVC. The concepts used in this projects are Fat Model/Thin Controller and Separation of Concern. By using these concepts the code is structured in an organized way.

Design overview

  • controllers: All the controllers.
  • models: Schema design and the Product model.
  • routes: All the routes.
  • services: All the business logic/database call.

Installed packages

  • node
  • express
  • cors
  • dotenv
  • mongoose
  • colors
  • bcrypt
  • jsonwebtoken

The pattern of Mongoose

  1. Design Schema.
  2. Then create a Model from the Designed Schema.
  3. Then do Query operations on the model.

About

close to industry level backend project


Languages

Language:JavaScript 100.0%