feat(backend): scaffold Fastify+TS + /health

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-27 20:46:08 +02:00
co-authored by Claude Sonnet 4.6
parent 17c277bb99
commit b09de85c6f
7 changed files with 58 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import Fastify, { type FastifyInstance } from "fastify";
import type { AppConfig } from "./config.js";
export function buildApp(_config: AppConfig): FastifyInstance {
const app = Fastify({ logger: false });
app.get("/health", async () => ({ status: "ok" }));
return app;
}