Automated Action cd7c0162fe Create REST API with FastAPI and SQLite
- 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)
2025-05-13 15:58:51 +00:00

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"])