Simple Publish/Subscribe App.
- (For Linux/MacOS user) Copy
.env.sh.exampleto.env.sh. - (For Windows user - CMD) Copy
,env.cmd.exampleto.env.cmd. - (For Powershell) Copy
.env.ps1.exampleto.env.ps1.
- Update the
.envfile to point your RabbitMQ host. - Run
yarn --frozen-lockfileto download the dependencies.
- Run
node consumer.js.
- Run
node sender.js.
MIT