/monitor-server

Simple Monitor Server in node.js

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Stories in Ready

monitor-server

Simple Monitor Server in node.js designed to be used to view realtime logs or messages from anything!

Usage

Install dependencies: npm install
Start the server: node server.js

You can send messages to be displayed using curl and sending a JSON object:
curl -X POST -H 'Content-Type:application/json' 'http://127.0.0.1:8080/message' -d '{"message":"Hello!","name":"Louis","type":"default"}'

You can access the monitor itself via a web browser eg: http://127.0.0.1:8080