gnokoheat / express-with-websocket-mqtt-example

NodeJs express app example with Websocket + MQTT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

express-with-websocket-mqtt-example

GitHub GitHub package.json version GitHub top language GitHub last commit

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.

Description

Server

Express, MQTT broker use same port in same time.

Client

  • Client 1
    • HTTP Call
    • MQTT Subscribe & Publish
  • Client 2
    • HTTP Call
    • MQTT Subscribe

About

NodeJs express app example with Websocket + MQTT

License:MIT License


Languages

Language:JavaScript 88.9%Language:Dockerfile 11.1%