Init backend
This commit is contained in:
commit
cf83399182
|
|
@ -0,0 +1,14 @@
|
|||
from typing import Union
|
||||
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.get("/")
|
||||
def root():
|
||||
return {"Hello": "World"}
|
||||
|
||||
@app.get("/api")
|
||||
def root():
|
||||
return {"Hello": "API!"}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
annotated-types==0.6.0
|
||||
anyio==4.3.0
|
||||
click==8.1.7
|
||||
fastapi==0.110.1
|
||||
h11==0.14.0
|
||||
idna==3.7
|
||||
pydantic==2.7.0
|
||||
pydantic_core==2.18.1
|
||||
sniffio==1.3.1
|
||||
starlette==0.37.2
|
||||
typing_extensions==4.11.0
|
||||
uvicorn==0.29.0
|
||||
Loading…
Reference in New Issue