Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajasharan/ng2-healthcheck
angular2 health check ping module using svg animations
https://github.com/rajasharan/ng2-healthcheck
Last synced: 3 days ago
JSON representation
angular2 health check ping module using svg animations
- Host: GitHub
- URL: https://github.com/rajasharan/ng2-healthcheck
- Owner: rajasharan
- License: mit
- Created: 2016-11-25T21:34:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-25T22:24:02.000Z (almost 8 years ago)
- Last Synced: 2024-11-04T08:38:21.587Z (13 days ago)
- Language: TypeScript
- Size: 1.54 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ng2-healthcheck
angular2 health check ping module using svg animations## Demo gif
![](./demo.gif)## Prerequisite
Setup a working angular-2 project using one of the following:
* [angular-cli](https://github.com/angular/angular-cli)
* [angular2 quickstart](https://angular.io/docs/ts/latest/quickstart.html)## Install `ng2-healthcheck `
```sh
$ npm install ng2-healthcheck --save
```## Usage
Import `HealthCheckModule` in app module
```ts
import { HealthCheckModule } from 'ng2-healthcheck';@NgModule({
imports: [
HealthCheckModule,
...
]
})
export class AppModule { }
```Use `health-check` selector inside app template
```html```
This will ping `/index.html` every 3 secs and report the status
### [License](/LICENSE)
The MIT License (MIT)