Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)