- Install all packages in requirements.txt
pip3 install -r requirements.txt
-
Make sure sql is configured in
main.py
and createsql_pass
-
Running the server
uvicorn main:app --reload
-
Requests can be made at be at localhost:8000/{endpoint}
-
Swagger UI interactive API documentation found at localhost:8000/docs
-
Testing can be done using pytest
pip install -U pytest
pytest test_main.py