
- Add project structure with FastAPI, SQLAlchemy, and Alembic - Implement Todo model with CRUD operations - Add REST API endpoints for todo management - Configure SQLite database with migrations - Include health check and API documentation endpoints - Add CORS middleware for all origins - Format code with Ruff
8 lines
164 B
Python
8 lines
164 B
Python
from fastapi import APIRouter
|
|
from .todos import router as todos_router
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(todos_router)
|
|
|
|
__all__ = ["api_router"]
|