Have configtxgen and cryptogen in $PATH
Navigate to the /basic-network folder with CLI
Run commands:
- ./start.sh
This spins up the distributed ledger and installs a chaincode contract
Navigate to the /javascript folder with CLI
Run commands:
- node enrollAdmin.js
- node registerUser.js
- node server.js
URL: http://localhost:3001/people/updateRecord
URL: http://localhost:3001/people/addPerson
URL: http://localhost:3001/image/:query
URL: http://localhost:3001/record/:query
Navigate to the /basic-network folder with CLI
Run commands:
- ./teardown.sh