Initial finance dashboard

This commit is contained in:
kai
2026-09-09 07:49:52 +02:00
commit 729a13bfca
6 changed files with 102 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
from fastapi import FastAPI, Request
from fastapi.responses import HTMLResponse
from fastapi.templating import Jinja2Templates
app = FastAPI(title="Finance Dashboard")
templates = Jinja2Templates(directory="/app/templates")
@app.get("/", response_class=HTMLResponse)
async def index(request: Request):
return templates.TemplateResponse(request=request, name="index.html")
@app.get("/health")
async def health():
return {"status": "ok"}