This is a URL Shortener which showcase the AKA protocol on the Ethereum blockchain.
You will need Kotlin 1.3.61. You can download it independently or install it as part of IntelliJ IDEA.
To build and run the project, you need gradle. Both gradle project file and wrapper Jars are included in the project repo.
All dependencies are configured in gradle project.
Download and install Truffle Ganache to start a local Ethereum node.
Download and install MetaMask browser plugin to interact with the Etheruem blockchain from the app.
Start Ganache development network
Deploy AKAP contract and URLShortener contract:
$ truffle migrate --network development
Make sure to update address as required within src/main/web/contracts/AKAP.json
Start webpack dev server with gradle run task:
$ ./gradlew -t run
Start your browser at:
$ http://localhost:8088/