Web app that uses a Spring Boot API for the Obligation CorDapp, that talks to a Corda node over Corda RPC.
Follow the Instructions for setting up which sets up a Notary and 3 Corda Nodes with the Obligation CorDapp installed on each node.
Starting the web app
Make sure you have cloned the Obligation Cordapp example and started the nodes (as described in pre-requisites)
git clone email@example.com:clydedacruz/obligation-webapp-springboot.git ./gradlew runPartyAServer
The UI for Party A will be accessible at
The API for Party A will be accessible at
We can similarly start up the web apps for Party B and Party C using the gradle tasks
runPartyBServer (port 8081) and
runPartyCServer (port 8082) respectively, which are defined in
Get names of peers in the network
Get name of current node
Issue cash to yourself
Get cash balances
Get list of obligations
The obligation-cordapp-0.1.jar is included in the
jars directory to make the Corda flows and contracts accessible to api controller code.
It can be built by simply running
./gradlew jar in the root directory of the