timothyb89 / monasca-webhook-demo

A small Monasca WebHook demo app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monasca WebHook Demo

A small server and web app to show off Monasca WebHook notifications. It uses WebSockets to show notifications in realtime when a notification is received.

Building and Running

Both the client and server are written in Node and require v6 or later.

Install:

yarn
# or
npm install

To build:

yarn run build
# or
npm run build

To run the server:

cd srv/
yarn # or npm install
npm index.js

It will start the server on port 3030. Point your webhook at http://server:3030/post and alarms should show up on the screen in realtime.

About

A small Monasca WebHook demo app

License:Apache License 2.0


Languages

Language:JavaScript 92.3%Language:HTML 7.7%