from fastapi import FastAPI
from src.core.exceptions import setup_exception_handlers
from src.api.v1 import api_router

app = FastAPI(
    title="mockupAWS", description="AWS Cost Simulation Platform", version="0.5.0"
)

# Setup exception handlers
setup_exception_handlers(app)

# Include API routes
app.include_router(api_router, prefix="/api/v1")


@app.get("/health")
async def health_check():
    """Health check endpoint."""
    return {"status": "healthy"}
