The reader is expected to be familiar with Node.js/JavaScript programming (especially the Promise pattern) and with the usage of the Node.js and npm tools:
- Install Node.js (https://nodejs.org/en/download/) and npm (https://www.npmjs.com/get-npm).
- Install the fabric-client and fabric-ca-client npm libraries:
- You can install these packages from the npm registry, either manually by running npm install <package-name> or by setting the names and versions in your package.json file. As an example, the package.json in the middleware folder contains the following entries in the dependencies section:
- fabric-ca-client: ^1.1.0
- fabric-client: ^1.1.0
- This instructs npm to install versions 1.1.0 ...