feat(backend): add isolated v2 foundation stack and query service scaffold

This commit is contained in:
zouantchaw
2026-02-26 12:26:08 -05:00
parent f316d673d0
commit d6559a0a11
14 changed files with 3304 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
import { Router } from 'express';
export const healthRouter = Router();
function healthHandler(req, res) {
res.status(200).json({
ok: true,
service: 'krow-query-api',
version: process.env.SERVICE_VERSION || 'dev',
requestId: req.requestId,
});
}
healthRouter.get('/health', healthHandler);
healthRouter.get('/healthz', healthHandler);