Go To Application for all things at MVR
cd mvr-insights
docker build .
docker-compose build
docker-compose run --rm app sh -c 'python manage.py makemigrations'
docker-compose run --rm app sh -c 'python manage.py migrate'
docker-compose up
docker-compose run --rm app sh -c 'python manage.py createsuperuser'
docker-compose run --rm app sh -c 'python manage.py test'
API access:
Endpoint | HTTP Method | CRUD Method | Response |
---|---|---|---|
/api/v1/\ |
GET | READ | Get all the data of \ |
/api/v1/\ |
GET | READ | Get a single instance \ |
/api/v1/\ |
POST | CREATE | Add a \ |
/api/v1/\ |
PUT | UPDATE | Update the single instance of \ |
/api/v1/\ |
DELETE | DELETE | Delete the single instance of \ |
/api/v1/log/ | GET | READ | Get all the activities |
/api/v1/report/ | GET | READ | Get the reports from a start date to end date |