Skip to content

A ready-to-use inventory management system with Node.js, Express, and Mongoose.

Notifications You must be signed in to change notification settings

iamtonmoy0/node-express-mongoose-inventory-management-system

Repository files navigation

A ready-to-use inventory management system with Node.js, Express, and Mongoose.

Getting started

This project will run on NodeJs using Mongoose as database. I had tried to maintain the code structure easy as any beginner can also adopt the flow and start building an API. Project is open for suggestions, Bug reports and pull requests.

Software Requirements

  • Node.js 8+
  • Mongoose 5.12 (Recommended 5+)

How to install

Using Git (recommended)

  1. Clone the project from github. Change "myproject" to your project name.
git clone https://github.com/iamtonmoy0/node-express-mongoose-inventory-management-system.git

Using manual download ZIP

  1. Download repository
  2. Uncompress to your desired directory

Install npm dependencies after installing (Git or manual download)

cd projectFileName
npm i

Project structure

.
├── app.js
├── package.json
├── .env
├── controllers
│   ├── product.controller.js
│   
├── models
│   ├── product.model.js
│   ├── brand.model.js
|   ├── category.model.js
|   ├─ store.model.js
├── routes
│   ├── product.router.js
├── middlewares
│   
├── helpers
├── service
│   ├── product.services.js
│   
└── views
    ├── index.pug

How to run

Running API server locally

nodemon app.js