A CLI chat experiment using MQTT Pub Sub and Node.js
|
|
||
|---|---|---|
| .gitignore | add .gitignore | |
| client.js | add client | |
| package-lock.json | add client | |
| package.json | add client | |
| README.md | README & screenshot | |
| screenshot.png | README & screenshot | |
| server.js | add server | |
A CLI Chat experiment using MQTT Pub Sub
Install
npm install
Start the server
npm run server
- It serves at:
mqtt://localhost:1883
Start the client
npm run client
- You can change the
usernameif you don't want to use a random string as your username.