Start the server:
npm run devTest basic health check:
curl http://localhost:3001/api/healthTest detailed health check:
curl http://localhost:3001/api/health/detailednpm test -- health.test.js# Basic check
curl https://your-domain.com/api/health
# Detailed check with formatted output
curl -s https://your-domain.com/api/health/detailed | jq- Uptime Robot: Monitor
/api/healthendpoint - Datadog: Use HTTP check on
/api/health/detailed - New Relic: Configure synthetic monitoring
- Prometheus: Scrape
/metricsendpoint (already configured)
200: System healthy or degraded (still operational)503: System unhealthy (critical components down)
✅ PostgreSQL database connectivity and response time
✅ Redis cache connectivity and response time
✅ Stellar Horizon API connectivity and response time
✅ System memory usage
✅ Disk space (basic check, install check-disk-space for details)
✅ Overall response time
✅ Process uptime