Production hardening: CSP, rate limit, env validation, health gating, Render blueprint, DEPLOYMENT.md

This commit is contained in:
Joel Brock
2026-05-09 21:43:43 -07:00
parent da3e48a874
commit dcdf315244
8 changed files with 343 additions and 2 deletions

13
app/healthz/route.ts Normal file
View File

@@ -0,0 +1,13 @@
/**
* GET /healthz
*
* Lightweight health check for Render's load-balancer. Returns 200 OK
* without making any external calls. Use /api/health for the deeper
* Civi-side diagnostic.
*/
import { NextResponse } from "next/server";
export async function GET() {
return NextResponse.json({ ok: true, service: "coop-checkin" }, { status: 200 });
}