Skip to content

Commit d52bd6e

Browse files
committed
Initialize FastAPI
0 parents  commit d52bd6e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

main.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from fastapi import FastAPI
2+
3+
app = FastAPI()
4+
5+
6+
@app.get("/")
7+
async def root():
8+
return {"message": "Hello World"}
9+
10+

0 commit comments

Comments
 (0)