Connecting ESP32 and Node.js to a Cloud MQTT Server with TLS

If you need realtime data transmission between an IoT device and a web/mobile application, using an MQTT server is one of the best options.