repo setup
This commit is contained in:
BIN
packages/backend/app/__pycache__/main.cpython-311.pyc
Normal file
BIN
packages/backend/app/__pycache__/main.cpython-311.pyc
Normal file
Binary file not shown.
11
packages/backend/app/main.py
Normal file
11
packages/backend/app/main.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
@app.get("/api")
|
||||
def read_root():
|
||||
return {"message": "Ciao dal backend FastAPI!"}
|
||||
|
||||
@app.get("/api/health")
|
||||
def health_check():
|
||||
return {"status": "ok"}
|
||||
Reference in New Issue
Block a user