This project is a baseline to play around with some reactive features of the upcoming Spring and Thymeleaf releases.
Nothing fancy here except the use of:
-
WebClient from spring-webflux
-
Flux / Mono from projectreator
-
The latest Thymeleaf Milestone release to enable the reactive parts (Server-Side Events)
The application retrieves data from the StarWars API and renders it in a table declared in a Thymeleaf template.
Additional there is a /crawl
endpoint to retrieve a locally created flux (with simulated delay).
The app has no custom port configured and will run on http://localhost:8080.
To start the app just type ./mvnw spring-boot:run
in the commandline.