This backend will serve the APIs to both mobile and web frontends
To use the server:
Python 3.8.5+ is required
-
Download the code
-
Make a python environment
python3 -m venv <environment name>
-
Activate the environment
- For Windows:
./<environment name>/Scripts/activate
- For Linux:
source <environment name>/bin/activate
-
Download the requirements
pip install -r requirements.txt
- Run migrations to create sqlite database
python3 ./manage.py migrate
- Run server
python3 ./manage.py runserver
API documentation is available at
/api_doc
and documentation with Swagger UI at/api_doc_swagger