feat: create FastAPI project

This commit is contained in:
2025-07-21 21:30:07 +00:00
parent eed9c5744d
commit 7ef8cd9c90
2 changed files with 22 additions and 0 deletions

9
main.py Normal file
View File

@@ -0,0 +1,9 @@
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {
"Hello": "World"
}

13
requirements.txt Normal file
View File

@@ -0,0 +1,13 @@
annotated-types==0.7.0
anyio==4.9.0
click==8.2.1
fastapi==0.116.1
h11==0.16.0
idna==3.10
pydantic==2.11.7
pydantic_core==2.33.2
sniffio==1.3.1
starlette==0.47.2
typing-inspection==0.4.1
typing_extensions==4.14.1
uvicorn==0.35.0