21 lines
509 B
Markdown
21 lines
509 B
Markdown
# Install
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
# Run
|
|
|
|
```bash
|
|
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
|