Web application for Hyperledger Fabric decentralized application
Starter application built with Aurelia to connect to REST API servers and transact on Hyperledger Fabric blockchain network created with Fabric Starter.
Install and build
Install prerequisites: Node.js. This example is for Ubuntu 18:
sudo apt install nodejs npm
Install Aurelia CLI
sudo npm install aurelia-cli -g
Build
npm install && au build --env prod
Create and start the network
Follow instructions on Fabric Starter to create a network of member organizations who will run their REST API servers which will serve this web app.
Development
Run in development
au run --watch
Your web application served by au run
in development at http://localhost:9000 will connect
to the API server of org a http://localhost:3000.