Create your own JavaScript-based MQTT broker & its client (subscriber & publisher) using Mosca & MQTT.js, then save the message from publisher on MongoDB database. Mosca is a Node.js MQTT broker, which can be used standalone or embedded in another Node.js application (http://www.mosca.io/), while MQTT.js is an MQTT client for Node.js and the browser (https://github.com/mqttjs/MQTT.js).
Full tutorial & source code:
https://github.com/LintangWisesa/Mosc...
* * * * * * * * * * * * * * * * * * * * * *
Email: [email protected]
Fb: / simplinnovation
Twitter: / lintang_wisesa
Blog: http://simplinnovation.blogspot.co.id/
Youtube: / lintangbagus
Instructables: http://www.instructables.com/member/L...
Hackster: https://www.hackster.io/lintangwisesa
GitHub: https://github.com/LintangWisesa
* * * * * * * * * * * * * * * * * * * * * *
#simpLINnovation
Watch video JavaScript-based MQTT #3: Mosca, MQTT.js & MongoDB online without registration, duration hours minute second in high quality. This video was added by user Lintang Wisesa 16 November 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,962 once and liked it 120 people.