1.2.0 • Published 5 years ago
@ekingdom/health-check-server v1.2.0
health-check-server
Services health check API
Supported services
- AWS S3
- Postgres
- Redis
- SMTP
- MongoDB
- RabbitMQ
Install
npm i -S @heathmont/health-check-server
Example and Dev
- Docker stack deploy
docker stack deploy -c docker-compose.yml health_check_server_stack
- Start Example App
npm run example
Fetch service status info:
# if not exists brew install httpie http -v :3000/health
Docker stack remove
docker stack rm health_check_server_stack
TODO:
- Add rate limiter in order to limit http requests to health endpoint
- Add ability to start health check server as a preloaded module (via node --require @@heathmont/health-check-server app.js)