Skip to content

Commit b9f23af

Browse files
committed
First Commit
0 parents  commit b9f23af

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

Procfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: gunicorn -w 3 -k uvicorn.workers.UvicornWorker main:app

__pycache__/main.cpython-310.pyc

335 Bytes
Binary file not shown.

__pycache__/module.cpython-310.pyc

307 Bytes
Binary file not shown.

main.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from fastapi import FastAPI
2+
app = FastAPI()
3+
@app.get("/")
4+
async def root():
5+
return {"message": "Hello world!"}

requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fastapi
2+
hypercorn
3+
gunicorn
4+
uvloop
5+
httptools

0 commit comments

Comments
 (0)