Giter Site home page Giter Site logo

t-shirt-shop-example's Introduction

Basic Vaadin and Spring Boot example

The example contains a view that submits T-shirt orders. The UI is similar to what you might have seen in Vaadin expo booth.

T-shirt Shop

In addition this version submits the orders to a JPA backend, validates the data automatically based on JSR-303 annotations in the domain object and also contains a view to list current submissions.

Clone and run the app

You can use it as a basis for your Vaadin experiments. To play around with the example, check it out using git or download the zip. Import it to your favorite IDE and execute the Application class or start the app from command line using:

git clone https://github.com/vaadin/t-shirt-shop-example.git
cd t-shirt-shop-example
mvn spring-boot:run

The application opens to http://localhost:8080

Where to go from here?

There is a tutorial about Creating CRUD UI with Vaadin at https://spring.io/guides/gs/crud-with-vaadin/ and for more complete Vaadin examples, visit http://vaadin.com/start

t-shirt-shop-example's People

Contributors

alvarezguille avatar juhopiirainen avatar mstahv avatar samie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

t-shirt-shop-example's Issues

Get Error message: Karibu-Testing 1.2.x doesn't support Vaadin 14 Compatibility mode; please use Karibu-Testing 1.1.x instead

java.lang.IllegalStateException: Polymer 3 webjar is on the classpath, indicating compatibility mode: jar:file:/C:/Users/agoreli/.m2/repository/org/webjars/bowergithub/polymer/polymer/2.7.0/polymer-2.7.0.jar!/META-INF/resources/webjars/polymer/polymer.html. Karibu-Testing 1.2.x doesn't support Vaadin 14 Compatibility mode; please use Karibu-Testing 1.1.x instead
at com.github.mvysny.kaributesting.v10.VaadinMeta.checkNotVaadin14CompatMode(VaadinVersion.kt:96)
at com.github.mvysny.kaributesting.v10.VaadinMeta.isCompatibilityMode(VaadinVersion.kt:71)
at com.github.mvysny.kaributesting.v10.MockVaadin.setup(MockVaadin.kt:148)
at com.sdn.ui.muse.ui.topology.KaribuVaadin14Spring2Test.setup(KaribuVaadin14Spring2Test.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:686)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.