PhiloMind / src /app.controller.ts
github-actions[bot]
Deploy Backend from GitHub Actions Commit: 360d9efe8e4d3b14a14214e16174a42a4c17aef6
dcf3508
Raw
History Blame Contribute Delete
386 Bytes
import { Controller, Get } from '@nestjs/common';
@Controller()
export class AppController {
@Get()
getRootHealth() {
return {
status: 'healthy',
service: 'PhiloMind NestJS Backend',
timestamp: new Date().toISOString(),
};
}
@Get('health')
getHealth() {
return {
status: 'healthy',
timestamp: new Date().toISOString(),
};
}
}