o2o-infinith-backend/app/main.py

16 lines
234 B
Python

from fastapi import FastAPI
from dotenv import load_dotenv
from api import routers
load_dotenv()
app = FastAPI()
for router in routers:
app.include_router(router)
@app.get("/health")
def health():
return {"status": "ok"}