from fastapi import FastAPI
from fastapi.staticfiles import StaticFiles

from app.routes.api_dashboard import router as dashboard_router
from app.routes.api_planner import router as planner_router
from app.routes.api_profile import router as profile_router
from app.routes.api_search import router as search_router
from app.routes.api_suggestions import router as suggestions_router
from app.routes.ui import router as ui_router


app = FastAPI(title="Doris Kitchen")
app.mount("/static", StaticFiles(directory="app/static"), name="static")

app.include_router(ui_router)
app.include_router(dashboard_router)
app.include_router(profile_router)
app.include_router(search_router)
app.include_router(suggestions_router)
app.include_router(planner_router)

