Skip to content

feat(api): add health readiness endpoint#13

Merged
Vann-Dev merged 1 commit into
mainfrom
kaito/health-readiness
May 12, 2026
Merged

feat(api): add health readiness endpoint#13
Vann-Dev merged 1 commit into
mainfrom
kaito/health-readiness

Conversation

@Vann-Dev
Copy link
Copy Markdown
Owner

Summary

  • Add unauthenticated GET /api/health with safe app/database readiness JSON.
  • Return HTTP 200 when the Prisma DB ping succeeds and HTTP 503 with degraded status when it fails.
  • Document Docker/local smoke check usage and production monitoring semantics in README.

Checks

  • corepack pnpm lint
  • DATABASE_URL=postgresql://user:pass@localhost:5432/db?schema=public corepack pnpm typecheck
  • DATABASE_URL=postgresql://user:pass@localhost:5432/db?schema=public corepack pnpm build

Note: build emits existing Next.js warning that middleware convention is deprecated in favor of proxy.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-bridge Ready Ready Preview, Comment May 12, 2026 2:03am

@Vann-Dev Vann-Dev merged commit aace9ab into main May 12, 2026
2 checks passed
@Vann-Dev Vann-Dev deleted the kaito/health-readiness branch May 12, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant