debate/backend/app/api/v1/router.py
Mikkel Georgsen 519333e598 feat(01-01): create FastAPI application structure with health endpoint
- Add FastAPI app with title 'Debate API' v1.0.0
- Configure pydantic-settings for environment-based configuration
- Create /health endpoint at root level
- Create /api/v1/health and /api/v1/health/ready endpoints
- Disable docs/redoc in production environment
2026-01-25 20:09:21 +00:00

9 lines
218 B
Python

"""API v1 router configuration."""
from fastapi import APIRouter
from backend.app.api.v1.endpoints import health
api_router = APIRouter()
api_router.include_router(health.router, prefix="/health", tags=["health"])