This is a boilerplate application to get you up and running quickly with your own blockchain application. With this boilerplate you get an application that you can run locally as well as on IBM Bluemix. There is a simple Angular frontend application, a NodeJS backend application and of course a blockchain network, all running in containers. Locally, the boilerplate starts up a blockchain network using Docker containers; on Bluemix you can use the Blockchain service.
The boilerplate uses Hyperledger Fabric v0.6.1-preview and HFC 0.6.5.
It has been created and is maintained by the IBM CIC Benelux Blockchain team. Pull requests are more than welcome!
- Docker and docker-compose (https://www.docker.com/)
- Linux or Mac
To have good support in your IDE it's advisable to also install NPM, TypeScript, TSLint and Golang.
- Fork this repo
git clone
your forkcd
into the main directory and runnpm install
(or, if you don't have npm,./install.sh
).
This will pull the baseimage, peer and memberservice, download the Go dependencies of the chaincode and build your containers. It will take a while.
To get rid of missing module errors in your IDE, also run npm install
from the server
and client
directory. This is not mandatory to run the application.