How to implement health check service in Angular?

I have an Angular web app (with a backend in Java SpringBoot).

Need to build a health check (monitoring) service, which tests that all its services are up and running
and shows the status.
Let’s say it’s a sales app, which has services CompanyService, and AccountService with functions like getCompanies(), getAccount(id), updateXXX(), etc.

Is it possible to build that service as a unit test, which calls several other unit tests (testing its individual services) using Jasmine/Karma?
How can we integrate that in the application, so the user clicks a button, it runs and returns/displays the result in the app? If not, what approach would you suggest?
And on stage 2 maybe make it run automatically every minute or so.

Please advise,

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.