UNPKG

create-sekiban-app

Version:

Create a new Sekiban application with Dapr

20 lines (17 loc) 480 B
import { Router } from 'express'; import type { Router as ExpressRouter } from 'express'; export const healthRoutes: ExpressRouter = Router(); healthRoutes.get('/health', (_req, res) => { res.json({ status: 'healthy', service: 'api-multi-projector', timestamp: new Date().toISOString() }); }); healthRoutes.get('/ready', (_req, res) => { res.json({ status: 'ready', service: 'api-multi-projector', timestamp: new Date().toISOString() }); });