/api-health-checker-dashboard

A node application to show the availability of the backend services in a dashboard.

Primary LanguageJavaScriptMIT LicenseMIT

API Health Checker Dashboard

Introduction

When we are working on a real project it is vital to have a dashboard where we can find the availability of the backend services integrated with that project. This project can be used for that purpose.

Advantages

  • Easy to find unavailable backend services
  • Real-time updating the services status in every “x” seconds (“x” can be configured. By default “x” is 30 seconds)
  • Easy to integrate services
  • No need to worry about the CORS issue
  • Both Web and Mobile friendly UI
  • Free and open-source

Architecture

API Health Checker Dashboard Vs Dynatrace Dashboard

Criteria API Health Checker Dashboard Dynatrace Dashboard
Real-time monitoring Yes Minimum interval is 5 minutes
Historical view Not yet implemented Yes
Integrating backend services Only need to update in a single file Need to create HTTP monitors per service and add it to the dashboard
Cost Free and open-source Paid tool

How to use?

Pre-requisites:

Steps:

  1. Clone this project
  2. Open the project in VSCode
  3. Open "config.json" located in "api-health-checker-dashboard/config/config.json"
  4. Update the JSON file with your Backend services' health routes
  5. Save the changes
  6. Open the terminal in VSCode
  7. Execute npm install to install the node modules
  8. Execute npm run dev to start the node application
  9. Open the web application from http://localhost:5000

Note: You won't be facing CORS issue. Because this application has a proxy layer to solve that issue. You can deploy this application as a node application.

Deployment

You can deploy this as a sample node application.

Sample dashboard deployed: https://api-health-checker-dashboard.herokuapp.com

License

MIT License API Health Checker Dashboard is released under MIT License

Copyright

Copyright 2020 MaxSoft.