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
- Host: GitHub
- URL: https://github.com/meistermeier/reactive-thymeleaf
- Owner: meistermeier
- Created: 2017-04-19T17:47:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T07:40:49.000Z (over 4 years ago)
- Last Synced: 2025-04-30T22:46:11.577Z (about 1 year ago)
- Topics: java, reactive, thymeleaf
- Language: Java
- Homepage:
- Size: 115 KB
- Stars: 27
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
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.