Demo to show a spring boot application wrtitten in kotlin with spring-data-elasticsearch
Install sdkman
To autoload the .sdkmanrc:
in $HOME/.sdkman/etc/config set sdkman_auto_env=true
Start the Elasticsearch docker-compose with:
docker-compose up -dThen you can run the application with:
./gradlew bootRunOnce everything is up and running open the browser and go to localhost:8080. You should see Swagger to interact with.
The integration tests rely on testcontainers, run with:
./gradlew clean build