Skip to content

A simple project to check the health of the app and generate a shield.

License

Notifications You must be signed in to change notification settings

jonathan-sh/health-check-shield

Repository files navigation

CircleCI Build Status

health-check-shield

It is a simple project to verify the integrity of the application through a get request and using shields-io to generate a shield with the status: IS UP or IS DOWN.

requirements:

✓ have a public get endpoint
✓ this endpoint needs to use https
✓ this endpoint needs to respond to status code 200 to represent a good case (if all is well), all the other status will be considered as a bad case (if something is wrong).

getting start:

base url:

https://c1ncr9o0gj.execute-api.sa-east-1.amazonaws.com/default/health-api?kill_cache=1&app=<app_name>&url=<app_url>

For this demo I will use:
app_name = google
url = https://www.google.com

step 1 - replace the parameters

https://c1ncr9o0gj.execute-api.sa-east-1.amazonaws.com/default/health-api?kill_cache=1&app=google&url=https://www.google.com

step 2 - add into your readme

![health-check][health-check-svg]

<!-- alias -->
[health-check-svg]: https://c1ncr9o0gj.execute-api.sa-east-1.amazonaws.com/default/health-api?kill_cache=1&app=google&url=https://www.google.com

results examples

good case:

good-case

bad case:

bad-case

About

A simple project to check the health of the app and generate a shield.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published