Skip to content

Commit 5f1a422

Browse files
committed
add FastAPI uvicorn
1 parent 22e5920 commit 5f1a422

File tree

2 files changed

+111
-55
lines changed

2 files changed

+111
-55
lines changed

Pipfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,19 @@ pytest = "*"
99
pylint = "*"
1010

1111
[packages]
12+
fastapi = "*"
1213
flask = "*"
1314
python-dotenv = "*"
1415
requests = "*"
1516
gunicorn = "*"
1617
flask-cors = "*"
1718
cachetools = "*"
1819
python-dateutil = "*"
20+
uvicorn = "*"
1921

2022
[requires]
2123
python_version = "3.8"
24+
25+
[scripts]
26+
dev_app = "uvicorn app.main:APP --reload"
27+
app = "uvicorn app.main:APP"

Pipfile.lock

Lines changed: 105 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)