Automated Action 9505ec13a1 Implement simple todo application with FastAPI and SQLite
- Set up project structure and FastAPI app
- Create database models and SQLAlchemy connection
- Implement Alembic migration scripts
- Add CRUD API endpoints for Todo items
- Add health check endpoint
- Set up validation, error handling, and middleware
- Add comprehensive documentation in README.md
2025-05-18 12:42:38 +00:00

12 lines
309 B
Python

from fastapi import APIRouter
from app.api.endpoints import todo_router
from app.api.health import router as health_router
router = APIRouter()
# Include health check endpoint
router.include_router(health_router)
# Include todo endpoints
router.include_router(todo_router, prefix="/todos", tags=["todos"])