Add web frontend

This commit is contained in:
2026-02-13 23:15:12 -08:00
parent 5faa57a741
commit 16a668b6ee
37 changed files with 4149 additions and 69 deletions

View File

@@ -4,6 +4,7 @@ import swagger from "@fastify/swagger";
import swaggerUI from "@fastify/swagger-ui";
import sensible from "@fastify/sensible";
import { env } from "./env.js";
import { ensureDatabaseReady } from "./db-init.js";
import { registerRoutes } from "./routes.js";
const app = Fastify({
@@ -15,6 +16,8 @@ const app = Fastify({
},
});
await ensureDatabaseReady(app.log);
await app.register(cors, { origin: true, credentials: true });
await app.register(swagger, {