Simple application status checker.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
.gitignore
LICENSE
README.md
jetronome-client.js
package-lock.json
package.json
test.js

README.md

jetronome-client

npm version

Jetronome Client is the simplest application status checker.

Features

  • Creating periodic signal

Install

$ npm i --save jetronome-client

Usage

Starting at initialize

require('./jetronome-client').init({
    name: 'Dummy App', // Application Name (required)
    description: 'This is a test application.', // Description (required)
    server: 'http://localhost', // Jetronome Server (required)
    port: 7828, // Jetronome Server Port (optional) (default: 7828)
    interval: 3000, // Signal Interval (optional) (default: 3000)
    testApi: 'http://localhost/api/test', // App Test API (optional)
    autoStart: true,
});

Starting after initialize

const jetronome = require('./jetronome-client');
jetronome.init({
    name: 'Dummy App', // Application Name (required)
    description: 'This is a test application.', // Description (required)
    server: 'http://localhost', // Jetronome Server (required)
    port: 7828, // Jetronome Server Port (optional) (default: 7828)
    interval: 3000, // Signal Interval (optional) (default: 3000)
    testApi: 'http://localhost/api/test', // App Test API (optional)
});

setTimeout(() => {
    jetronome.start();
}, 5000);

Server App

This app works in pairs with Jetronome Server.