Welcome to the Dairy Flow backend-api repository! Dairy Flow is a management solution tailored for milk shops, offering features like record keeping, batch addition of milk on a daily basis, bookkeeping, and monthly accounts.
- Customer Management: Efficiently manage customer records.
- Supplier Management: Manage supplier records.
- Record Keeping: Efficiently manage inventory records for different types of milk products.
- Delivery: Maintain Delivery record for each customer on a daily-basis.
- Bookkeeping: Keep track of transactions, sales, and purchases for accurate bookkeeping.
- Bill Generation: Generate Monthly Bills on demand with ease.
- Monthly Accounts: Generate monthly reports and accounts to analyze business performance.
- Framework: Flask
- Database: MongoDB
Follow these instructions to get the project up and running on your local machine.
- Python 3.10.12
- MongoDB
-
Clone the repository:
git clone https://github.com/mohammadryanchahour/dairy-flow-backend-api.git
-
Navigate to the project directory:
cd dairy-flow-backend-api -
Install dependencies:
pip install -r requirements.txt
-
Set up MongoDB:
- Install MongoDB according to your operating system instructions.
- Start MongoDB service.
-
Configure the application:
- Create a
.envfile in the project root directory from .env.example.
cp .env.example .env
- Create a
-
Run the application:
python app.py
or
python3 app.py
Now, you should be able to access the Dairy Flow backend-api locally at http://localhost:3000.