Code Monkey home page Code Monkey logo

beverage-starter-flow's Introduction

This example application has been deprecated

This project is not updated anymore, but is still visible as an old example for using Java and HTML in Vaadin 14. Please see our starting page for newer project examples.

Beverage Buddy App Starter for Vaadin Flow

β˜•πŸ΅πŸΆπŸΌπŸΊπŸΈπŸΉπŸ·

This is a Vaadin platform example application created with Java and HTML. It is used to demonstrate features of Vaadin platform.

The easiest way of using it is via https://vaadin.com/start - you can choose the vaadin version and the package naming you want. If you want to use it with the latest vaadin version you can use this direct link.

The Starter demonstrates the core Vaadin Flow concepts:

Prerequisites

The project can be imported into the IDE of your choice, with Java 8 or 11 installed, as a Maven project.

But additionally you need node.js installed in your System, and available in your PATH. See the Node.js page for the installation instructions.

Dependencies

Dependencies are managed by Vaadin platform and vaadin-maven-plugin.

Running the Project in Developer Mode

  1. Run mvn
  2. Wait for the application to start
  3. Open http://localhost:8080/ to view the application

Note that there are some files/folders generated in the project structure automatically. You can find some information about them here.

Production Mode

  1. Run mvn package -Pproduction to get the artifact.
  2. Deploy the target/beveragebuddy-2.0-SNAPSHOT.war.

If you want to run the production build using the Jetty plugin, use mvn jetty:run -Pproduction and navigate to the http://localhost:8080/.

Documentation

Brief introduction to the application parts can be found from the documentation folder. For Vaadin documentation for Java users, see Vaadin.com/docs.

Adding new templates

To add a new template or a style to the project create the JavaScript module in the ./frontend directory.

Then in the PolymerTemplate using the P3 element add the JsModule annotation e.g. @JsModule("./src/views/reviewslist/reviews-list.js")

Branching information

  • master the latest version of the starter, using the latest platform version
  • v10 the version for Vaadin Platform 10
  • v11 the version for Vaadin Platform 11
  • v12 the version for Vaadin Platform 12
  • v13 the version for Vaadin Platform 13

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.