Files
btpxpress-frontend/app/api/health/route.ts

18 lines
371 B
TypeScript

/**
* Health check endpoint for Docker and Kubernetes
*/
import { NextResponse } from 'next/server';
export async function GET() {
return NextResponse.json(
{
status: 'healthy',
timestamp: new Date().toISOString(),
service: 'btpxpress-frontend',
version: process.env.NEXT_PUBLIC_APP_VERSION || '1.0.0',
},
{ status: 200 }
);
}