Files
calorie_tracker_2/dist/app.controller.d.ts
Jp 39c16f5090 feat: add health check endpoint and Docker health monitoring
Add a /health endpoint to the application controller and configure Docker health checks.
This enables container orchestration systems to monitor the application's liveness and readiness.
2026-02-02 00:54:10 +08:00

16 lines
473 B
TypeScript

import { Response } from 'express';
import { UsersService } from './users/users.service';
export declare class AppController {
private usersService;
constructor(usersService: UsersService);
root(req: any, res: Response): void;
login(): {};
loginPost(res: Response): void;
register(): {};
registerPost(body: any, res: Response, req: any): Promise<void>;
logout(req: any, res: Response): void;
health(): {
status: string;
};
}