fix: Remove demo pages and add testDataService for production build

This commit is contained in:
dahoud
2025-10-02 00:10:01 +00:00
parent b430bf3b96
commit 5bdd4b6e4f
11 changed files with 137 additions and 1877 deletions

17
app/api/health/route.ts Normal file
View File

@@ -0,0 +1,17 @@
/**
* 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 }
);
}