A javascript MQTT producer/consumer to publish/subscribe topics and messages on a broker.
This is a Node.js application. Hence, we need to follow the instructions below to run it locally:
- install dependencies with command
npm install
; - Run the command
npm start
;
We may host the app on a cloud machine by following instructions:
- Instanciation of a machine on a cloud platform (AWS, Azure, GCP);
- Login remotely;
- Import the service repository
- Utilize
systemctl
to manage the service;
Docs needed.
Docs needed.