Express app example with Websocket + MQTT
It is very simple node.js express app example to configure express with websocket + MQTT. This code include MQTT client examples. It can be possible to add MQTT brocker to operating express server easily.
Express, MQTT broker use same port in same time.
- Express
- MQTT broker
- ws://localhost:8080
- Client 1
- HTTP Call
- MQTT Subscribe & Publish
- Client 2
- HTTP Call
- MQTT Subscribe