Giter Club home page Giter Club logo

spring-data-vaadin-crud's Introduction

Spring Data JPA CRUD with Vaadin

A super simple single table CRUD example with Spring Data JPA and Vaadin. Uses Spring Boot for easy project setup and development. Helps you to get started with basic JPA backed applications and Vaadin Spring Boot integration library.

For larger applications, consider applying some commonly known design patterns for your UI code. Check e.g. this MVP example.

As an example for a really easy Vaadin add-on usage, there is Switch add-on added as a dependency and the application uses wscdn.vaadin.com service to compile and host the widgetset. To make it work in your project, see this part in pom.xml and this row in your configuration.

How to play with this example

Suggested method

  • Clone the project
  • Import to your favorite IDE
  • Execute the main method from Application class

Just execute it with maven

git clone https://github.com/mstahv/spring-data-vaadin-crud.git
cd spring-data-vaadin-crud
mvn spring-boot:run

Just create the package and run it

The built .jar file is auto-runnable, so as you can move it to any computer having java installed and run the app.

git clone https://github.com/mstahv/spring-data-vaadin-crud.git
cd spring-data-vaadin-crud
mvn package
java -jar target/spring-data-vaadin-crud-0.0.1-SNAPSHOT.jar

Just deploy it

The built jar file is really simple to deploy in modern PaaS services. E.g. if you have existing Bluemix account and are already logged in with your cf (CLI) tools just execute following:

git clone https://github.com/mstahv/spring-data-vaadin-crud.git
cd spring-data-vaadin-crud
mvn install
cf push choose-namefor-your-server-here -p target/*.jar -b https://github.com/cloudfoundry/java-buildpack.git

Note, that you can also use the cf push without the java-buildpack, but then you need to downgrade the example to Java 7. Check out the custom "java7" branch for that.

spring-data-vaadin-crud's People

Contributors

manolo avatar mstahv avatar snicoll avatar

Watchers

 avatar

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.