
- Created project structure and FastAPI application - Added SQLite database models and Pydantic schemas - Implemented todo routes (add, list, delete) - Set up Alembic migrations - Added health endpoint generated with BackendIM... (backend.im)
10 lines
215 B
Python
10 lines
215 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/health")
|
|
async def health_check():
|
|
"""
|
|
Health check endpoint to verify the API is running correctly
|
|
"""
|
|
return {"status": "healthy"} |