This API helps in tracking Vendor profiles, Purchase Orders and Historical Performance of the Vendors using performance metrics like On Time Delivery Rate, Average Rating, Average Response Time and Fulfillment Rate to incorporate trend analysis of the vendor's performance.
- Clone the repository to your system
git clone https://github.com/vkay616/vendor-management-system-using-django-rest-framework.git - Change to the directory that stores the local repository and install the required libraries
pip install -r requirements.txt- Change directory to head inside the the django project folder
cd vendor_mgmt_sys- Run the migration commands just in case any changes were made to the models.py file
python manage.py makemigrations
python manage.py migrate- Finally, start the server
python manage.py runserver- Now you can use cURL commands, any programming language or a tool like Postman to send various requests to the API and get appropriate responses.
I recommend using Postman since I've exported a collection of all API requests and provided it in the repository, using that you can easily test all the requests. Or you can check out the test_api folder and run the api_test.py file to test each request and their response which are stored in the test.log in the log folder.
Open endpoints require no authentication.
| Endpoint | Detail | Example |
|---|---|---|
GET /api/token/ |
returns the authorization token | ![]() |
These are the endpoints that require a valid token in the header of the request.
Vendor Profile Management and Performance Tracking
Purchase Orders Tracking













