MQTT is protocol for IOT connection.
In this project we simulate some services and one external MQTT message broker. Client that assume is a single devices, send below topic for SMS sending.
oC%4w@shop/system/connection/sms/inbox
we use random prefix for separate call in project
oC%4w@shop
Main server that written in ECMAScritp6 is in class form and made in SOLID principle.
a) for use this project you can run both file in same times.
$ node device-client/device.iot.js
$ node server/saman.sms.service.js