Vaadin 10 Karibu-DSL Example App / Archetype
This project can be used as a starting point to create your own Vaadin Flow application. It has the necessary dependencies and files to get you started. Just clone this repo and start experimenting! Import it to the IDE of your choice as a Gradle project.
Online Demo of this app running on Heroku.
To quickly start the app, make sure that you have Java 8 (or higher) JDK installed. Then, just type this into your terminal:
git clone https://github.com/mvysny/karibu10-helloworld-application cd karibu10-helloworld-application ./gradlew appRun
The app will be running on http://localhost:8080/.
This is a port of Skeleton Starter Flow to Kotlin+Gradle.
- The DSL technique is used to allow you to nest your components in a structured code. This is provided by the Karibu-DSL library; please visit the Karibu-DSL home page for more information.
- The browserless testing is demonstrated in the MainViewTest.kt file. Please read Browserless Web Testing for more information.
- For more complex example which includes multiple pages, please see the Beverage Buddy Karibu-DSL example-v10 app. It is a port of the Vaadin official Java Beverage Buddy App Starter to Kotlin + Karibu DSL.
- For information on how to connect the UI to the database backend please visit Vaadin-on-Kotlin You can find a complete CRUD example at Vaadin-on-Kotlin vok-example-flow-sql2o.