https://github.com/salmandabbakuti/hlf-tunasupplychain
Tuna fishing 🎣 supplychain on Hyperledger Fabric using nodejs chaincode..
https://github.com/salmandabbakuti/hlf-tunasupplychain
blockchain hlf-tunasupplychain hyperledger-fabric hyperledger-fabric-poc nodejs nodejs-chaincode supplychain tuna tuna-app tuna-fishing-supplychain
Last synced: 3 months ago
JSON representation
Tuna fishing 🎣 supplychain on Hyperledger Fabric using nodejs chaincode..
- Host: GitHub
- URL: https://github.com/salmandabbakuti/hlf-tunasupplychain
- Owner: Salmandabbakuti
- License: apache-2.0
- Created: 2019-08-29T04:57:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T15:49:39.000Z (about 2 years ago)
- Last Synced: 2025-01-03T21:39:18.077Z (5 months ago)
- Topics: blockchain, hlf-tunasupplychain, hyperledger-fabric, hyperledger-fabric-poc, nodejs, nodejs-chaincode, supplychain, tuna, tuna-app, tuna-fishing-supplychain
- Language: Shell
- Homepage:
- Size: 53.4 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# hlf-tunaSupplychain
This Repository utilizes ```fabric-samples/basic-network```
**This is the nodejs version of chaincode implemented from go version of tuna-app owned by Hyperledger-fabric contributors**
Tuna fishing 🎣 supplychain on nodejs for demonstration.
###### Pre-requisites
```
curl -O https://hyperledger.github.io/composer/latest/prereqs-ubuntu.shchmod u+x prereqs-ubuntu.sh
./prereqs-ubuntu.sh
```
###### Quick Demo:
```
git clone https://github.com/Salmandabbakuti/hlf-tunaSupplychain.gitcd hlf-tunaSupplychain/client
./start.sh
```
for making calls from client Side (From```client/``` directory),run:
```
chmod a+x prereqs.sh./prereqs.sh
node query.js // by default queries for All tunas on the ledger. You can simply modify function for other calls
node invoke.js//Submits a transaction to change tuna owner
node apiServer.js // Server Runs at port 80. You can make calls by pointing to your Local host Port 80.
```