Scratch work - learning FastAPI stuff again.
controllers | ||
models | ||
.gitignore | ||
app.py | ||
database.py | ||
new.sql | ||
README.md | ||
requirements.txt | ||
test.http |
Install
pip install -r requirements.txt
Run
python -m uvicorn app:app --reload
Note: First time touching FastAPI in this manner, so organization is not great. Any questions of "WTF?? Why did you do it this way?" - because it ended up that way, I have not worked on a project of this scope so moving LEGO bits around just worked.
Paired with https://gitea.tyrel.dev/tyrel/go-webservice-gin