https://github.com/svenruppert/blog---java---how-to-a-rest-service-to-vaadin-flow
Blog - Java - How to a REST Service to Vaadin Flow
https://github.com/svenruppert/blog---java---how-to-a-rest-service-to-vaadin-flow
Last synced: 2 months ago
JSON representation
Blog - Java - How to a REST Service to Vaadin Flow
- Host: GitHub
- URL: https://github.com/svenruppert/blog---java---how-to-a-rest-service-to-vaadin-flow
- Owner: svenruppert
- License: apache-2.0
- Created: 2025-06-23T18:02:02.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-24T07:40:10.000Z (4 months ago)
- Last Synced: 2025-06-24T08:33:14.330Z (4 months ago)
- Language: Java
- Size: 56.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to connect a Vaadin Flow App with a REST Service
The german blogpost you will find here: https://javapro.io/de/mit-vaadin-flow-rest-endpoints-in-core-java-konsumieren/
The english blogpost you will find here: https://svenruppert.com/2025/06/24/connecting-rest-services-with-vaadin-flow-in-core-java/
# core-vaadin-project-template
A Template that can be used to start a Core Vaadin Flow Project.
In this demo you will find a simple UI, based on Vaadin Flow.## What is offered by this template?
* TDD with Junit5
* MutationCoverage with PiTest
* Compile via Dockerimage
* Deployment via Dockerimage
* Development Dockerimage with JDK and Maven
* Production Dockerimage with JDK
* Issuetracker via Github Issues
* Projectplanning via Github Projects
* Create SBOM (cyclonedx)
* Dependency Version Management via versions plugin
* Integration Tests for the REST Server
*## Vulnerability - Hunting
Even in small projects it is importand to scann for vulnerabilities.
But mostly there is no budget for personal projects.
What should you do? Well, you can combine different free offerings
to see who is reporting faster in wich case. Most vendors are implementing it as Github-PR.
So, see who is fast and what you will get.
I will list a few provider so that you have a solid base to start with.* Snyk: https://snyk.io/
* OXSecurity: https://app.ox.security/
* FaradaySec: https://faradaysec.com/## Todos
* Wie mache ich ein release? -jreleaser?
* Compile in Docker
* Run in Docker - Webservices..
* PiTest in Docker mit Source Snapshot## How to start
* search and replace inside pom.xml - "https://github.com/svenruppert/core-vaadin-project-template" with your coordinates.
* define what is your JDK you want to use and change it - default is the latest Temurin LTS
* inside the Docker image definitions
* inside your pom.xml
* change the properties **pitest-prod-classes** and **pitest-test-classes**
* change the properties for the deployment repositories
* change the repositories, you are resolving from. Default is maven central
* if you have a main class, change the property **app.main.class** or comment it out
* create the docker images under _tools/docker
* develop/build.sh
* runtime/build.sh
* application/build.sh - first time after you created your shaded application.jar## Docker Images for Develop and Runtime
### Developer Images
Here we are creating an image with JDK and maven (or gradle if you are using it).
### Best practices
From time to time update the core Images with the latest updates on OS system base.
For this tag the image with the update date, so tht everybody know how old the updated
image is.