Giter Site home page Giter Site logo

h3ar7b3a7 / multipurposevaadinapp Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 134 KB

Building a Todo List upon my last example of a real-time chat web app using multiple views in Vaadin (with Spring Boot).

License: The Unlicense

JavaScript 23.45% CSS 9.50% Java 67.06%
spring-boot vaadin reactor-core h2-database vaadin-tabs

multipurposevaadinapp's Introduction

MultiPurposeApp

This is an example project that can be used as a starting point to create your own Vaadin application with Spring Boot. It contains all the necessary configuration and some placeholder files to get you started.

The project is a standard Maven project, so you can import it to your IDE of choice. Read more how to set up a development environment for Vaadin projects (Windows, Linux, macOS).

This project was created from https://start.vaadin.com.

Running the Application

There are two ways to run the application:

  • To run from the command line, use mvn and open http://localhost:8080 in your browser.
  • Another way is to to run the Application class directly from your IDE.

Intellij IDEA

  • On the right side of the window, select Maven --> Plugins--> spring-boot --> spring-boot:run goal
  • Optionally, you can disable tests by clicking on a Skip Tests mode blue button.

Clicking on the green run button will start the application.

After the application has started, you can view your it at http://localhost:8080/ in your browser.

Eclipse

  • Right click on a project folder and select Run As --> Maven build.. . After that a configuration window is opened.
  • In the window set the value of the Goals field to spring-boot:run
  • You can optionally select Skip tests checkbox
  • All the other settings can be left to default

Once configurations are set clicking Run will start the application

Project structure

  • MainView.java in src/main/java contains the navigation setup. It uses App Layout.
  • views package in src/main/java contains the server-side Java views of your application.
  • views folder in frontend/src/ contains the client-side JavaScript views of your application.

What next?

vaadin.com has lots of material to help you get you started:

multipurposevaadinapp's People

Contributors

h3ar7b3a7 avatar

Stargazers

 avatar  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.