Example for Domain-driven Design, showing how to build technology free Internal Building Blocks with Java.
Prerequisites:
* JDK 21
* Optional: Keycloak
To build, test and run use gradle:
./gradlew build
./gradlew test
./gradlew bootRun
Rest API is available at: http://localhost:8080/
To activate configure Keycloak you have to set these environment properties:
KEYCLOAK_ENABLED=true
KEYCLOAK_REALM=the-realm
KEYCLOAK_CLIENT_SECRET=the-client-secret
KEYCLOAK_AUTH_SERVER_URL=http://localhost:8070/auth