Files
private_image/backend/src/modules/healthCheck/controllers/HealthCheckController.ts
T
nobswebdev a785ce775f add NestJS skeleton and GET /api/health-check.
Thin API bootstrap with config module and nullcart-style health route for Docker checks.
2026-09-27 23:05:28 +02:00

11 lines
281 B
TypeScript

import { Controller, Get, HttpStatus, Res } from '@nestjs/common';
import type { Response } from 'express';
@Controller('/health-check')
export class HealthCheckController {
@Get('/')
getStatus(@Res() res: Response) {
return res.sendStatus(HttpStatus.OK);
}
}