Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 908 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 908 Bytes

The web server

This simple Node.JS web server is designed to allow some degree of remote access, mainly for checking status and start/stop/program some devices.

This process is loosely coupled with the main server through an ad-hoc IPC channel for obvious security reasons.

Then, the web access will not expose:

  • anything about the topology
  • direct device/sink accesses
  • direct IP/protocol accesses

The generic messages-based protocol implemented here should be paired with logic in the server applicative layer.

Server interaction

This Node.JS application can be even used to remotely start/stop/automatically restart the server process.

For these operations a login is required (implemented via Express.js authentication methods).

A sample web app

See here for a sample web app.