This is an example of how to build an MQTT broker using Node.js and aedes.
The code was tested using:
- Node.js v12.20.1
- npm 6.14.10
In the repo directory, simply run
npm install
You can start the broker using either:
npm start
or
node index.js
The broker will print out the messages it receives. Use Ctrl+C to exit.