Skip to content

feat: enhance health check with dependency status#205

Merged
Userunknown84 merged 1 commit into
Userunknown84:mainfrom
Aharshi3614:feat/health-check-dependencies
Jun 22, 2026
Merged

feat: enhance health check with dependency status#205
Userunknown84 merged 1 commit into
Userunknown84:mainfrom
Aharshi3614:feat/health-check-dependencies

Conversation

@Aharshi3614

Copy link
Copy Markdown
Contributor

Closes #197

Description

Enhanced /health endpoint to check dependencies status.

Changes:

  • Created utils/healthCheck.js with status checks
  • MongoDB connection status (connected/disconnected)
  • Flask ML API status (online/offline)
  • Returns comprehensive health report with timestamp and uptime
  • Returns 503 if any dependency is unhealthy

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

@Aharshi3614 is attempting to deploy a commit to the Aditya Sharma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Userunknown84 Userunknown84 merged commit 9a92c07 into Userunknown84:main Jun 22, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Health Check with Dependencies

2 participants