This repository contains the example microservices and frontend for the article Avoid Vertical Limits in Microservice Architectures.
There are three branches:
Branch | Jars | Description |
---|---|---|
one-ui |
jars.zip | Contains the initial web shop example |
ui-components |
jars.zip | The UI is divided into components, each with its own API gateway |
master |
jars.zip | The final example after the cart UI as been changed according to the customer's demands |
All projects provide both maven and gradle based builds to create the jars. The jars are self contained spring boot apps which you can start easily with e.g. java -jar router.jar
. You will need Java 8 to run the jars.
If you are not used to Maven or Gradle, you may use the self-installing gradle wrapper. Just the check out the projects and run gradlew build
(resp. gradlew.bat build
on Windows) in all projects. This installs gradle and builds the executable jars. For your convenience the jars are available prebuilt in the releases.
You have to start all server in order to run the application. To access the shop, direct your browser to the router on http://localhost:9000.