Add ElysiaJS integration and update homepage

This commit is contained in:
James Blair 2026-05-08 18:39:08 +12:00
parent 3197d2fb1b
commit 666b2d0e0d
Signed by: james
SSH key fingerprint: SHA256:hsDR3ENI2ZMgh+CNb+0PrFsj29DI007R+BMKUVGi6zQ
12 changed files with 112 additions and 100 deletions

View file

@ -0,0 +1,10 @@
import { Elysia } from "elysia";
import { HealthModel } from "./model";
import { Health } from "./service";
export const health = new Elysia({ prefix: "/health" }).get(
"/",
() => Health.check(),
{ response: HealthModel.checkResponse },
);