Skip to content

feat: add comprehensive health check endpoint - #162

Open
Adamsonoladipupo wants to merge 1 commit into
SwiftChainn:mainfrom
Adamsonoladipupo:feat/health-endpoint
Open

feat: add comprehensive health check endpoint#162
Adamsonoladipupo wants to merge 1 commit into
SwiftChainn:mainfrom
Adamsonoladipupo:feat/health-endpoint

Conversation

@Adamsonoladipupo

@Adamsonoladipupo Adamsonoladipupo commented Aug 29, 2026

Copy link
Copy Markdown

Summary

Added a comprehensive health check endpoint for monitoring the backend's critical dependencies.

Changes

  • Added a versioned health check endpoint.
  • Added MongoDB connectivity verification.
  • Added Stellar Soroban RPC connectivity verification.
  • Returns 200 OK when all required services are healthy.
  • Returns 503 Service Unavailable when one or more services are unavailable.
  • Followed the existing Controller → Service → Model architecture.
  • Added robust error handling and strong TypeScript typing.
  • Added tests covering healthy and unhealthy dependency scenarios.

Verification

  • Unit tests: Passed
  • Type checking: Passed
  • Linting: Passed
  • Build: Passed
  • Health endpoint manually verified with a successful API response.

Proof of Work

A screenshot of the successful health endpoint response and/or passing test results is included as proof of implementation.

Closes #104

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@Adamsonoladipupo 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

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.

[Feature] Add a comprehensive /health endpoint that checks MongoDB connectivity and Stellar RPC status

1 participant