Playground-Spring is a small study/playground application built with Spring Boot, Spring Data JPA, Spring Security, and Vaadin (UI).
Notice: This project was created as an architecture playground. Do not use it in production without a proper review (security, dependencies, configuration, logging/monitoring, etc.).
- Java 21
- Spring Boot 4.0.1
- Vaadin 25.x (Theme: Aura)
- Spring Security (form login)
- JPA + Apache Derby (embedded DB)
- Java 21 (LTS recommended)
- Maven 3.9.x (or Maven Wrapper
./mvnwif you add it to the project)
Tip (Windows): verify your environment with
mvn -vandjava -version.
-
Go to the module directory:
cd playground-spring -
Start the app:
mvn clean spring-boot:run
-
Open your browser:
-
Example credentials:
admin / admin
Production mode builds the optimized Vaadin frontend bundle and packages the application.
From the module directory:
mvn -Pproduction clean packageThis produces a runnable JAR at:
target/playground-spring-0.0.2-SNAPSHOT.jar
java -jar target/playground-spring-0.0.2-SNAPSHOT.jarDefault URL:
java -jar target/playground-spring-0.0.2-SNAPSHOT.jar --server.port=8081java -jar target/playground-spring-0.0.2-SNAPSHOT.jar --spring.profiles.active=prodIf you want environment-specific settings, create
application-prod.properties/application-prod.yml.
- Login view route:
/login - The Vaadin
LoginFormposts tologin(login.setAction("login")) and integrates with Spring Security form login. - When using Aura via
@StyleSheet(Aura.STYLESHEET), make sure static theme resources are permitted in yourSecurityFilterChain(e.g.,/aura/**).
Screenshots are located under doc/screenshots:
This project is licensed under the terms of the MIT license. See the LICENSE file for details.
If you found this project helpful, please consider giving it a star ⭐️



