初始化仅前端版本

This commit is contained in:
2026-03-10 17:13:19 +08:00
commit 24431ca308
27 changed files with 727 additions and 0 deletions

13
main.py Normal file
View File

@@ -0,0 +1,13 @@
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello World"}
@app.get("/hello/{name}")
async def say_hello(name: str):
return {"message": f"Hello {name}"}