Skip to content

hudsondiegof/healthcheck

Repository files navigation

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 solution can be used for that purpose.

Demo App

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
  • Can maintain multiple environments
  • No need to worry about the CORS issue
  • Both Web and Mobile friendly UI
  • Free and open-source

Architecture

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
Managing environments​ Can maintain multiple environments via multiple json files Need to create multiple HTTP monitors per each environment and service
Cost Free and open-source Paid tool

How to use?

Pre-requisites:

Steps:

  1. Clone this project
  2. Open the project in VSCode
  3. Update the JSON files located in "api-health-checker-dashboard/config" with your Backend services' health routes
  4. Save the changes
  5. Open a terminal from VSCode
  6. Execute npm install to install the node modules
  7. Execute npm run dev to start the node application
  8. 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 2022 MaxSoft.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published