Skip to content

Node Webserver (express) with mqtt broker (mosca)

Notifications You must be signed in to change notification settings

Lotti/node-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-mqtt

The server is composed by a REST API server and an MQTT broker. At this time the MQTT broker is reachable both from WebSocket and from his dedicated port.

You can also run locally the server by using these commands.

start the server with

npm start

run tests suite with

npm test

Keep in mind that node v6.1.0 was used to develop this software.

Example apis

GET /api/clientStats

Returns the number of connected mqtt clients.

GET /api/topicStats

Returns the number of subscribed topics.

About

Node Webserver (express) with mqtt broker (mosca)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published