/vaadin-fusion-todo

Primary LanguageTypeScriptThe UnlicenseUnlicense

Vaadin Fusion todo app with TypeScript views

This is an example app for comparing popular frontend frameworks. You can find the same app implemented in React, Angular, Vaadin Fusion, and Vaadin Flow. The projects can be run in the browser with the GitPod button below.

This app uses Vaadin's new type-safe communication between a Spring Boot backend and a LitElement + TypeScript frontend.

Open in Gitpod

Try adding a field in the Todo.java file, and notice how it becomes available in the TypeScript API automatically.

Requirements

  • Java 11

Running

mvn spring-boot:run

Frontend changes are picked up directly. Backend changes need to be built, your IDE may do this automatically on save.

Project structure

Frontend files are in ./frontend Backend files are in ./src/main/java/com/example/application

Alternate implementations