
- Set up project structure with FastAPI framework - Implement database models using SQLAlchemy - Create Alembic migrations for database schema - Build CRUD endpoints for Items resource - Add health check endpoint - Include API documentation with Swagger and ReDoc - Update README with project documentation
9 lines
285 B
Python
9 lines
285 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.endpoints import items, health
|
|
|
|
api_router = APIRouter()
|
|
|
|
# Include all the endpoint routers
|
|
api_router.include_router(health.router, prefix="/health", tags=["health"])
|
|
api_router.include_router(items.router, prefix="/items", tags=["items"]) |