UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

24 lines (19 loc) 763 B
import { $module } from "alepha"; import { AlephaServer } from "alepha/server"; import { ServerHealthProvider } from "./providers/ServerHealthProvider.ts"; // --------------------------------------------------------------------------------------------------------------------- export * from "./providers/ServerHealthProvider.ts"; export * from "./schemas/healthSchema.ts"; // --------------------------------------------------------------------------------------------------------------------- /** * Application health monitoring endpoints. * * **Features:** * - `GET /health` endpoint * * @module alepha.server.health */ export const AlephaServerHealth = $module({ name: "alepha.server.health", services: [AlephaServer, ServerHealthProvider], });