PhiloMind / src /app.controller.ts
github-actions[bot]
Deploy Backend from GitHub Actions Commit: ca37b2a1c9dd5c702619ea7ae7b3260d2fb5663d
b185a6d
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(),
};
}
}