IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.03k stars 979 forks source link

How to Start Developing Client App using Node SDK? #228

Closed rezkus closed 6 years ago

rezkus commented 6 years ago

Hi guys,

I am trying to make a client app using Fabric SDK Node, but I appear to be clueless on how to start developing it since there are very few beginner's tutorials.

I already made and ran successfully my chaincode (adopting the Marble's chaincode) and the blockchain network using BYFN sample. So my issue is, what are the next steps I need to take to develop the client app? If any, where should I learn it?

Any help would be very much appreciated. Thanks!

P.s.: I am very new to development with Node.js. If I have to learn it, where should I start? :)

dshuffma-ibm commented 6 years ago

I'm not sure what to recommend. Do you have a use case or some target application? I'm not sure how useful coding against hyperledger fabric just for the sake of it would be. Or how one would even do that...

Typically you have some idea you want to build. Then:

As for node.js help, I find the mozilla docs to be hands down the best, especially for beginners. Here is their tutorial section https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs . They also do a great job of documenting specific JS functions.

rezkus commented 6 years ago

Hi dshuffma,

Thanks for your reply.

Ah yes sorry, what I'm developing is something called Smart Identity, a distributed identity management system to enable self-sovereign identity: basically, transfer of identity attributes with the consent of identity owners. It pretty much works like this

From your guide, I have already done point 1, 2, and 3. Now, I am stuck on the point 4 and 5. Would you kindly elaborate what should I do on those 2 steps? Or where could I learn? I've tried to read tutorials from here but still don't understand where to start since I am a beginner. Sorry if these are stupid questions.

Thanks again for your help!

dshuffma-ibm commented 6 years ago

since this project is young, you will be unable to find any tutorials on SDK usage. the closest I know of is in Marbles: https://github.com/IBM-Blockchain/marbles#sdk-deeper-dive

The real knowledge will come from reading the SDK source.

dshuffma-ibm commented 6 years ago

closing, inactivity