This is a Django-based Vendor Management System. It provides APIs for managing vendors and purchase orders, and it includes performance metrics for vendors.
- Vendor management: Create, update, and delete vendors.
- Purchase order management: Create, update, and delete purchase orders.
- Vendor performance metrics: Calculate and display metrics such as on-time delivery rate, average quality rating, average response time, and fulfillment rate.
- Clone the repository:
git clone https://github.com/Dank-del/vendor_management
cd vendor_management
- Set up a virtual environment and activate it:
python3 -m venv venv
source venv/bin/activate
- Install the required packages:
pip install -r requirements.txt
- Apply the migrations:
python manage.py migrate
- Run the server:
python manage.py runserver
Now, you can access the application at http://localhost:8000
.
To run the tests, use the following command:
python manage.py test vendors