npm.io
1.2.2 • Published 4 years ago

amqp-rpc-lib

Licence
MIT
Version
1.2.2
Deps
3
Size
48 kB
Vulns
0
Weekly
0
Stars
1

How to run the examples

  1. Install the dependencies
$ npm install
  1. Build the project to compile TS to JS files
$ npm run prepare
  1. Go to the examples folder
$ cd examples
  1. Start the rabbitmq with docker-compose
$ docker-compose up
  1. Initialize the server
$ node server.js
  1. Runs a client
$ node client.js

Note: If you are doing some changes on the source code, you need to re-compile

$ npm run build:clean

and go the the step 1. again

$ npm run prepare