To test MQTT broker
yarn #to install dependencies
node read.js #run a client that listen to topic and print message
node main.js #run a client that send message to topic every second
Default value you can change in the environment variables
TOPIC="topic"
ADDRESS="ws://localhost:1883"