Initial FastAPI + SQLite + Alembic
This commit is contained in:
8
fastapi_demo/app/api/routes/health.py
Normal file
8
fastapi_demo/app/api/routes/health.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter(tags=["health"])
|
||||
|
||||
|
||||
@router.get("/health")
|
||||
def health():
|
||||
return {"status": "ok"}
|
||||
Reference in New Issue
Block a user