Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
import { NextResponse } from 'next/server';
|
|
|
|
|
|
2026-04-29 02:03:10 +02:00
|
|
|
/**
|
|
|
|
|
* Liveness probe — confirms the Next.js process is responding.
|
|
|
|
|
*
|
|
|
|
|
* Returns 200 unconditionally; if the process is wedged or has crashed
|
|
|
|
|
* the request never lands here at all. Do NOT include database/Redis/MinIO
|
|
|
|
|
* checks in this endpoint — a transient downstream blip should drop the
|
|
|
|
|
* pod from the load balancer (readiness), not restart the pod (liveness).
|
|
|
|
|
*
|
|
|
|
|
* For deep dependency checks, hit `/api/ready` instead.
|
|
|
|
|
*/
|
|
|
|
|
export async function GET() {
|
|
|
|
|
return NextResponse.json({ status: 'ok', timestamp: new Date().toISOString() });
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
}
|