Skip to content

feat: add /api/health and /api/ready endpoints#369

Merged
AnnabelJoe merged 2 commits into
AnnabelJoe:mainfrom
DevKingOche:feat/health-ready-endpoints-275
May 28, 2026
Merged

feat: add /api/health and /api/ready endpoints#369
AnnabelJoe merged 2 commits into
AnnabelJoe:mainfrom
DevKingOche:feat/health-ready-endpoints-275

Conversation

@DevKingOche
Copy link
Copy Markdown
Contributor

Summary

Adds health check and readiness endpoints for container orchestration.

  • GET /api/health — returns 200 with uptime and version
  • GET /api/ready — checks DB connectivity, returns 503 if unhealthy
  • Both endpoints excluded from authentication (no middleware applied)
  • docker-compose.yml added with healthcheck configured

Closes #275

DevKingOche and others added 2 commits May 28, 2026 11:42
- GET /api/health returns 200 with uptime and version
- GET /api/ready checks DB connectivity, returns 503 if unhealthy
- Both endpoints unauthenticated (no middleware)
- docker-compose.yml with healthcheck configured

Closes AnnabelJoe#275
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@DevKingOche Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@AnnabelJoe AnnabelJoe merged commit 1919b14 into AnnabelJoe:main May 28, 2026
6 of 12 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add health check and readiness endpoints for container orchestration

2 participants