This project is developed on Python 3.8 Environment with Django 3 Framework. Django Rest Framework is used to handle Rest API. All required packages can be found in Pipfile.
Run server: python manage.py runserver
Before running the server, please make sure to configure Database setting.
Method | Url | Description |
---|---|---|
GET |
/controls |
List all controls (Five per page) |
POST |
/controls/ |
Create a new control |
GET |
/controls/:id |
Get a specific control |
PUT |
/controls/:id/ |
Update a specific control |
DELETE |
/controls/:id/ |
Delete a specific control |
POST |
/controls/bulk |
Bulk upload controls in CSV format |
GET |
/controls/download |
Download controls in CSV format |