This challenge is from MAPER, and is intended to evaluate my ability to interpret requirements, think logically, design software with judgement, and write clean and modular code.
Title | Link |
---|---|
API DOC | Go to API DOC |
CHALLENGE INSTRUCTIONS | Go to CALLENGE INSTRUCTIONS |
SYSTEM EXPLANATION | Go to SYSTEM EXPLANATION |
COMMANDS | Go to COMMANDS |
- Docker Desktop
- Startup project with
docker-compose build --no-cache && docker-compose up
- After initialization, check if migrations are made. If not, access the backend service and make them.
python manage.py makemigrations metrics sensors machine
python manage.py migrate
- After making migrations, load the data from .csv to database, with this custom command:
python manage.py load_data
- Load the database with the previous machine runtimes.
python manage.py populate_machine_runtimes
- After putting services up, navigate to
localhost:8000/swagger/
or
localhost:8000/redoc/
to see api docs.