This is a Block Chain Demo Application
To start your application in the dev profile, simply run:
./gradlew
To optimize the blockchain demo application for production, run:
./gradlew -Pprod :chain-core:clean :chain-core:build
To ensure everything worked, run:
java -jar chain-core/build/libs/*.jar
To launch your application's tests, run:
./gradlew :chain-core:test
You can also fully dockerize your application and all the services that it depends on. To achieve this, first build a docker image of your app by running:
./gradlew :chain-core:build docker
Then run:
docker run -rm -p 6565:6565 hibuz.com/chain-core
| Method | Path | Description |
|---|---|---|
| GET | / | Redirect to /swagger-ui.html |
| GET | /api/ | Get block chain info |
| POST | /api/?msg={msg} | create newBlock with msg |
| POST | /api/recruit | create newBlock with generated recruit email |
Content type
Image
Digest
Size
104.8 MB
Last updated
over 6 years ago
docker pull hibuz/blockchain-java