Skip to content

Sample of Chat application on top of Vaadin

License

Notifications You must be signed in to change notification settings

KnowHowSpringBoot/sample-reactive-vaadin-chat

Repository files navigation

Vaadin Framework Example

Sample Chat application on top of Vaadin.

Technology stack

java 21, Spring Boot 3, Webflux, Vaadin 24

Prerequisites

The following items should be installed in your system:

Running locally

This application is a Spring Boot application built using Maven. You can build a jar file and run it from the command line:

git clone https://github.com/KnowHowSpringBoot/sample-reactive-vaadin-chat.git
cd sample-reactive-vaadin-chat
./mvnw package
java -jar target/*.jar

You might also want to use Maven's spring-boot:run goal - applications run in an exploded form, as they do in your IDE:

./mvnw spring-boot:run -Dspring-boot.run.profiles=local -P production

Working with Application in your IDE

  1. On the command line
git clone https://github.com/KnowHowSpringBoot/sample-reactive-vaadin-chat.git
  1. Inside IDE

In the main menu, choose File -> Open and select the Application pom.xml. Click on the Open button. Activate "local" profile in the Run settings or set it via environment variables. instruction Wait to indexing completion and push the green "play" button.

Code conventions

The code follows Google Code Conventions. Code quality is measured by:

Tests

This project has standard JUnit tests. To run them execute this command:

./mvnw test

Versioning

Project uses a three-segment CalVer scheme, with a short year in the major version slot, short month in the minor version slot, and micro/patch version in the third and final slot.

YY.MM.MICRO
  1. YY - short year - 6, 16, 106
  2. MM - short month - 1, 2 ... 11, 12
  3. MICRO - "patch" segment