
Create a simple Todo API with FastAPI and SQLite with CRUD functionality, health check, error handling, and API documentation.
8 lines
225 B
Python
8 lines
225 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1 import health, todos
|
|
|
|
api_router = APIRouter()
|
|
|
|
api_router.include_router(health.router, tags=["health"])
|
|
api_router.include_router(todos.router, prefix="/todos", tags=["todos"]) |