Hello, world
This commit is contained in:
parent
edf9c2fb23
commit
7c66d7934e
2 changed files with 8 additions and 0 deletions
0
src/rectes/__init__.py
Normal file
0
src/rectes/__init__.py
Normal file
8
src/rectes/main.py
Normal file
8
src/rectes/main.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
from fastapi import FastAPI
|
||||||
|
|
||||||
|
app = FastAPI()
|
||||||
|
|
||||||
|
|
||||||
|
@app.get("/")
|
||||||
|
def read_root():
|
||||||
|
return {"Hello": "World"}
|
Loading…
Reference in a new issue