Perhaps, use as boilerplate / template for further work
Create a Virtual Environment. You should only have to do this once
python -m venv env
Activate it
source env/bin/activate
Install Dependencies
pip install -r REQUIREMENTS.txt
-
Activate the virtual environment
source env/bin/activate
-
Start Fast API In Development Mode
fastapi dev webapp/main.py
Run tests using Pytest
pytest -vs
pytest --cov=webapp
or with a HTML report
pytest --cov=webapp --cov-report html