An open API service indexing awesome lists of open source software.

https://github.com/meistermeier/reactive-thymeleaf

Sample project for reactive server side rendering
https://github.com/meistermeier/reactive-thymeleaf

java reactive thymeleaf

Last synced: 9 months ago
JSON representation

Sample project for reactive server side rendering

Awesome Lists containing this project

README

          

= Thymeleaf / Reactive Demo

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)

== About
The application retrieves data from the https://swapi.co/api[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).

=== Running the app
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.