Skip to content

Demo of a spring boot project written in kotlin with spring data elasticsearch

Notifications You must be signed in to change notification settings

neogeogre/spring-boot-elasticsearch

Repository files navigation

Spring Data Elasticsearch Example

Demo to show a spring boot application wrtitten in kotlin with spring-data-elasticsearch

Java setup

Install sdkman To autoload the .sdkmanrc: in $HOME/.sdkman/etc/config set sdkman_auto_env=true

How to run

Start the Elasticsearch docker-compose with:

docker-compose up -d

Then you can run the application with:

./gradlew bootRun

Once everything is up and running open the browser and go to localhost:8080. You should see Swagger to interact with.

How to test

The integration tests rely on testcontainers, run with:

./gradlew clean build

About

Demo of a spring boot project written in kotlin with spring data elasticsearch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages