from fastapi import FastAPI
from fastapi.staticfiles import StaticFiles

from app.routes.api_assignments import router as assignments_router
from app.routes.api_dashboard import router as dashboard_router
from app.routes.api_paperless import router as paperless_router
from app.routes.api_recordings import router as recordings_router
from app.routes.api_sync import router as sync_router
from app.routes.ui import router as ui_router


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

app.include_router(ui_router)
app.include_router(dashboard_router)
app.include_router(assignments_router)
app.include_router(recordings_router)
app.include_router(sync_router)
app.include_router(paperless_router)
