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