This is the backend for my pest data visualisation Written using FastAPI and poetry for environment and version control
cd ~/path_to_dir/
git clone https://github.com/user/fastapi-backendpoetry install.env.dev
PGDATABASE = bubble_plot
PGHOST=localhost
.env.test
PGDATABASE = bubble_plot_test
PGHOST=localhost
poetry run seed-dbpoetry run pytest -s tests-s flag shows print output
poetry run fastapi dev main.py