@ekingdom/health-check-server

1.2.0 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @ekingdom/health-check-server

Weekly Downloads

0

Version

1.2.0

License

UNLICENSED

Unpacked Size

24.8 kB

Total Files

23

Last publish

Collaborators

  • drakemall
  • ektech
  • ipirius
  • deniskublitskiy
  • ihor_opansenko