from fastapi import FastAPI
from fastapi.staticfiles import StaticFiles
from pathlib import Path

app = FastAPI()

# Serve static frontend from /static directory
app.mount("/", StaticFiles(directory=Path(__file__).parent / "static", html=True), name="static")

