January 2020
Intermediate to advanced
530 pages
11h 11m
English
To create the backend server for Bank B, duplicate the backend server code for Bank A, and change the following details:
const ipfs = ipfsClient('http://localhost:5002')
const conString = "postgres://bankb:bankb@localhost:5432/bankb";
var server = app.listen(process.env.PORT || 8001, function () { var port = server.address().port; console.log("App now running on port", port); });
const ccpPath = '~/fabric-samples/bankchain/connection-bankb.json';
Read now
Unlock full access