Skip to content

sombriks/sample-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample MQTT

Playing with publish/subscribe paradigm

Dependencies

How to run this

Enter server folder, open terminal and:

npm install
npm run dev

On client folder, open two terminals and:

npm install
npm run pub
npm install
npm run sub

You can open as much clients, either pub or sub as you wish. as long as the broker remains running the subscribers will get the message.

Other noteworthy libraries

mqtt-connection mqtt-server mosca

About

playing with publish/subscribe paradigm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published