This project is the API for the Learning Platform. It is a Django project using the Django REST Framework application. It integrates with the Github OAuth platform to create accounts and perform authorizations.
Setup is handled by the automated script in the infrastructure repo learn-ops-infrastructure Refer to the Learning Platform Infrastructure project for instructions.
See DEBUG_README.md for the full guide.
Make sure the project is running first.
Then run tests from the learn-ops-api directory:
Run all tests:
docker compose exec api pytestRun a single test file:
docker compose exec api pytest LearningAPI/tests/test_student_update.py