509 B
509 B
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
based on: https://blog.balasundar.com/building-a-crud-app-with-fastapi-and-mysql