2022-10-14 17:53:32 +00:00
|
|
|
# Install
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install -r requirements.txt
|
|
|
|
```
|
|
|
|
|
|
|
|
# Run
|
|
|
|
|
|
|
|
```bash
|
|
|
|
python -m uvicorn app:app --reload
|
|
|
|
```
|
2022-10-14 18:23:13 +00:00
|
|
|
|
2022-10-14 18:39:57 +00:00
|
|
|
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.
|
|
|
|
|
2022-10-14 18:23:13 +00:00
|
|
|
|
2022-10-14 19:37:53 +00:00
|
|
|
Paired with https://gitea.tyrel.dev/tyrel/go-webservice-gin
|
|
|
|
|
|
|
|
based on: https://blog.balasundar.com/building-a-crud-app-with-fastapi-and-mysql
|