A RESTful API for Dairy milk distributors to manage records of the milk distribution.
- Add Order
- Update Order
- Update Order Status
- Delete Order
- Check Today's Left Milk Capacity
- Get All Orders
-
Clone the repository
git clone https://github.com/nixrajput/dairy-milk-distributor-api-nodejs.git
-
Install required modules
npm install
-
Create
dev.env
file insrc
folder -
Add following VARIABLES in
dev.env
or in production Environment VariablesPORT = YOUR PORT MONGO_URI = YOUR MONGODB URI DB_NAME = YOUR MONGODB DATABASE NAME
-
Run the server
npm run dev