I got a node.js backend that connects to an MQTT server upon REST api trigger:
This is part of my backend server, server.js file
server.js
const server