Developed a Vendor Management System using Django and Django REST Framework. This system will handle vendor profiles, track purchase orders, and calculate vendor performance metrics.
- Python (version 3.x recommended)
- Django
- Django REST Framework
-
Clone the repository
git clone https://github.com/Yashaswini892/vendor-management-system.git
cd vendor-management-system
-
Install dependencies:
- pip install django
- pip install djangorestframework
-
Database setup:
python manage.py makemigrations
python manage.py migrate
- Start the server:
python manage.py runserver
Access the application at localhost:8000
1.Vendor Profile Management:
- Create, retrieve, update, and delete vendor profiles.
- Track vendor information including name, contact details, address, and a unique vendor code.
2.Purchase Order Tracking:
- Create, retrieve, update, and delete purchase orders.
- Track purchase order details such as PO number, vendor reference, order date, items, quantity, and status.
3.Vendor Performance Evaluation:
- Calculate vendor performance metrics, including on-time delivery rate, quality rating average, average response time, and fulfillment rate.
Open the Django admin at http://127.0.0.1:8000/admin/ and log in using the superuser credentials.The superuser already created with username:yashaswini, password: yashaswini This is to access the database as a admin user.
- POST /api/vendors/: Create a new vendor.
- GET /api/vendors/: List all vendors.
- GET /api/vendors/{vendor_id}/: Retrieve a specific vendor's details.
- PUT /api/vendors/{vendor_id}/: Update a vendor's details.
- DELETE /api/vendors/{vendor_id}/: Delete a vendor.
- UPDATE /api/vendors/{vendor_id}/: Update a vendor.
- POST /api/purchase_orders/: Create a new order.
- GET /api/purchase_orders/: List all orders.
- GET /api/purchase_orders/{vendor_id}/: Retrieve a specific order's details.
- PUT /api/purchase_orders/{vendor_id}/: Update a order's details.
- DELETE /api/purchase_orders/{vendor_id}/: Delete a order.
- UPDATE /api/purchase_orders/{vendor_id}/: Update a order.