Add ElysiaJS integration and update homepage
This commit is contained in:
parent
3197d2fb1b
commit
666b2d0e0d
12 changed files with 112 additions and 100 deletions
10
server/modules/health/index.ts
Normal file
10
server/modules/health/index.ts
Normal 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 },
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue