Welcome to the our Corda project Care Chain which is a block chain patient record management system.
- Clone or download the project to you local machine.
- Open the project in
IntelliJ
make sure to selectGradle
leaving the defaults. - Open the terminal window in the project directory.
- Build the nodes with our Cordapp using the following command.
- Unix/Mac OSX :
./gradlew deployNodes
- Windows :
gradlew.bat deployNodes
- After the build finishes, you will see the generated nodes in the java-source/build/nodes folder
- Start the nodes by running the following command.
- Unix/Mac OSX :
java-source/build/nodes/runnodes
- Windows :
java-source/build/nodes/runnodes.bat
The nodes’ webservers run locally on the following ports:
- PartyA: localhost:10009
- PartyB: localhost:10012
- PartyC: localhost:10015
These ports are defined in each node’s node.conf file under java-source/build/nodes/NodeX/node.conf.
Each node webserver exposes the following endpoints:
- /api/example/me
- /api/example/peers
- /api/example/ious
- /api/example/create-iou
There is also a web front-end served from /web/example.