"""FastAPI application entry point.""" from fastapi import FastAPI from backend.app.api.v1.router import api_router from backend.app.core.config import settings app = FastAPI( title="Debate API", version="1.0.0", description="Backend API for Debate - Linux distribution customization platform", docs_url="/docs" if not settings.is_production else None, redoc_url="/redoc" if not settings.is_production else None, debug=settings.debug, ) # Include API routers app.include_router(api_router, prefix="/api/v1") @app.get("/health") async def root_health() -> dict[str, str]: """Root health check endpoint.""" return {"status": "healthy"}