
- Implemented project structure with FastAPI framework - Set up SQLite database with SQLAlchemy ORM - Created Alembic for database migrations - Implemented Item model and CRUD operations - Added health check endpoint - Added error handling - Configured API documentation with Swagger UI generated with BackendIM... (backend.im)
7 lines
249 B
Python
7 lines
249 B
Python
from fastapi import APIRouter
|
|
from app.api.endpoints 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"]) |