-
create Python virtual environment
python3 -m venv venv
-
activate virtual environment
Windows :venv\Scripts\activate.bat
Linux :source venv/bin/activate
-
install requirements
pip install -r requirements.txt
-
create 'database' folder
mkdir database
-
run server
python api.py
-
Swagger UI can be found on your browser at
localhost:{4310}/ui
- run tests (must be in top level folder)
pytest tests
Note: -s flag can be useful to print stdout of tests