Health Check
The Health Check component provides production-ready endpoints for monitoring your API's status, system health, and service availability. Essential for load balancers, monitoring systems, and deployment tools.
Installation Guide
npx servercn-cli add health-checkBasic Implementation
1. Controller Setup
2. Route Setup
3. Integration in App
Usage Examples
1. Basic Health Check
Simple endpoint that returns service status:
2. Detailed Health Check
Include system information: