
Features: - Project structure with FastAPI framework - SQLAlchemy models with SQLite database - Alembic migrations system - CRUD operations for items - API routers with endpoints for items - Health endpoint for monitoring - Error handling and validation - Comprehensive documentation
8 lines
243 B
Python
8 lines
243 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1 import items, health
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(health.router, prefix="/health", tags=["health"])
|
|
api_router.include_router(items.router, prefix="/items", tags=["items"])
|