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

https://github.com/josdem/thymeleaf-workshop

Spring Webflux with Thymeleaf
https://github.com/josdem/thymeleaf-workshop

gradle jacoco junit5 sonarqube spring-webflux thymeleaf webtestclient

Last synced: 8 months ago
JSON representation

Spring Webflux with Thymeleaf

Awesome Lists containing this project

README

          

Thymeleaf Workshop
----------------------------

[![Build Status](https://app.travis-ci.com/josdem/thymeleaf-workshop.svg?branch=master)](https://app.travis-ci.com/josdem/thymeleaf-workshop)
[![Quality Gate Status](https://sonar.josdem.io/api/project_badges/measure?project=com.jos.dem.springboot.thymeleaf%3Athymeleaf-workshop&metric=alert_status)](https://sonar.josdem.io/dashboard?id=com.jos.dem.springboot.thymeleaf%3Athymeleaf-workshop)

This project shows different ways to handle HTML5 elements using [Thymeleaf](https://www.thymeleaf.org/) having [Spring Webflux](https://docs.spring.io/spring-framework/docs/current/reference/html/web-reactive.html) as backend.

#### To run the project with Gradle

```bash
gradle bootRun
```

#### To run tests with Gradle

```bash
gradle test
```

#### To run tests with Jacoco and Sonarqube

```bash
gradle jacocoTestReport sonarqube test
```

#### To run the project with Maven

```bash
mvn spring-boot:run
```

#### To run tests with Gradle

```bash
mvn test
```

#### Read this as reference

* https://josdem.io/techtalk/spring/spring_webflux_thymeleaf/
* https://josdem.io/techtalk/spring/spring_webflux_basics/