Minimal server script to stream readings from a broker.
- Create an env file with the required variables (names guessable from code).
- Add the broker IP (username/password for auth if applicable).
- Run
npm start
and visit http://localhost:3000 to see realtime sensor readings on the page. - Ensure page status says "Online" before debugging anything (include that in the report too).