HyperledgerHandsOn/trade-finance-logistics

Not able to get the desired output while running the app.js on browser.

Closed this issue · 3 comments

Not able to get the desired output while running the app.js on browser.
Please suggest, what is going wrong here.
Screenshot from 2020-07-04 20-30-47

You need to run app.js from the command line. And if you are running it within a VM, make sure the port (4000) is exposed to the host machine so you can query from the browser. You should use curl scripts from the command line instead of a browser as you will need to supply other options with the request.

See the latest branch: https://github.com/HyperledgerHandsOn/trade-finance-logistics/tree/release-1.4
Scripts can be found here: https://github.com/HyperledgerHandsOn/trade-finance-logistics/tree/release-1.4/application/client_scripts

Also, this is a fairly old project at this point and we are nor maintaining it any more. We have instead been working on a new and improved project that works for the latest version of Fabric (version 2). This should be released within a month or so; watch out for notifications on these pages.