There is an address service which delivers addresses. This is the producer. In addition there is an invoice service which is a consumer of the address service.
To develop, run and build a JDK 8 is required. The build system is gradle. The services are implemented with spring boot.
cd into the directory of your checkout.
To test all services:
$ ./gradlew clean test # for linux
$ ./gradlew.bat clean test # for windows
$ ./gradlew :address-service:bootRun
Tip
|
ctrl^c ends the running spring boot server
|
http://localhost:8888/addresses/ delivers the list of all addresses.
$ ./gradlew :invoice-service:bootRun
http://localhost:7777/invoices/ delivers the list of all invoices.
The presentation is written with asciidoctor
To generate the presentation:
$ ./gradlew asciidoctor
afterwards you can present with a browser (here we are using firefox):
$ firefox ./presentation/build/asciidoc/html5/presentation.html &