Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamtonmoy0/node-express-mongoose-inventory-management-system
A ready-to-use inventory management system with Node.js, Express, and Mongoose.
https://github.com/iamtonmoy0/node-express-mongoose-inventory-management-system
api-server express inventory inventory-management-system mongodb mongoose node rest rest-api restful-api server
Last synced: 5 days ago
JSON representation
A ready-to-use inventory management system with Node.js, Express, and Mongoose.
- Host: GitHub
- URL: https://github.com/iamtonmoy0/node-express-mongoose-inventory-management-system
- Owner: iamtonmoy0
- Created: 2023-07-12T06:48:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-18T09:29:15.000Z (over 1 year ago)
- Last Synced: 2024-01-27T17:43:32.197Z (10 months ago)
- Topics: api-server, express, inventory, inventory-management-system, mongodb, mongoose, node, rest, rest-api, restful-api, server
- Language: JavaScript
- Homepage:
- Size: 4.56 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
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.
```bash
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)
```bash
cd projectFileName
npm i
```## Project structure
```sh
.
├── 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
```bash
nodemon app.js
```