
- Set up project structure with FastAPI - Configure SQLite database with SQLAlchemy - Set up Alembic for migrations - Create Item model and schema - Implement CRUD operations - Add health endpoint generated with BackendIM... (backend.im)
7 lines
242 B
Python
7 lines
242 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1 import health, items
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(health.router, prefix="/health", tags=["health"])
|
|
api_router.include_router(items.router, prefix="/items", tags=["items"]) |