Didn't see many examples around so decided to put this out there.
Includes 2 examples:
- Embedded
- Mosca broker runs alongside an express application, as a single executable node app
- Run using
node app.js
- Run using
- Mosca broker runs alongside an express application, as a single executable node app
- Standalone
- Mosca broker and express application run in separate node applications
- Run using
node app.js
for the express application inside theUI
directory - Run using
node server.js
for the mosca broker inside theBroker
directory
- Run using
- Mosca broker and express application run in separate node applications