I'm a software developer and mostly working with Python and Java, but for my current project I'm dealing with Node.In the past I did some projects with regular JavaScript but I'm unfamiliar with the fundamentally different concepts of Node.Which parts of a js-Script will be executed in which order when it's called withnode fabcar-backend.js I'm trying to migrate a script (https://github.com/TheIanSim/FabCar/blob/master/fabcar-backend.js) to the current release of the framework by comparing it with some contemporary files (invoke, query and enroll-admin here: https://github.com/hyperledger/fabric-samples/tree/master/fabcar/javascript)I notice the files in the fabric-samples repo all files have a main() (which is of course the primary function) and I get the variables in the fabcar-backend.js are initialized first. But what happens after that?Conducting a quick research I wasn't successful to find the answer as most of the manuals are either too basic ("Write your first Script"...) or too detailed.
Submitted August 04, 2020 at 02:22PM by qoheletal
No comments:
Post a Comment