https://github.com/h3ar7b3a7/multipurposevaadinapp
Building a Todo List upon my last example of a real-time chat web app using multiple views in Vaadin (with Spring Boot).
https://github.com/h3ar7b3a7/multipurposevaadinapp
h2-database reactor-core spring-boot vaadin vaadin-tabs
Last synced: about 2 months ago
JSON representation
Building a Todo List upon my last example of a real-time chat web app using multiple views in Vaadin (with Spring Boot).
- Host: GitHub
- URL: https://github.com/h3ar7b3a7/multipurposevaadinapp
- Owner: H3AR7B3A7
- License: unlicense
- Created: 2020-08-26T11:09:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-26T11:10:02.000Z (over 4 years ago)
- Last Synced: 2025-01-25T18:08:55.371Z (3 months ago)
- Topics: h2-database, reactor-core, spring-boot, vaadin, vaadin-tabs
- Language: Java
- Homepage:
- Size: 131 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](https://vaadin.com/docs/v14/flow/installing/installing-overview.html) 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](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 defaultOnce 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](https://vaadin.com/components/vaadin-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](https://vaadin.com) has lots of material to help you get you started:
- Follow the tutorials in [vaadin.com/tutorials](https://vaadin.com/tutorials). Especially [vaadin.com/tutorials/getting-started-with-flow](https://vaadin.com/tutorials/getting-started-with-flow) is good for getting a grasp of the basic Vaadin concepts.
- Read the documentation in [vaadin.com/docs](https://vaadin.com/docs).
- For a bigger Vaadin application example, check out the Full Stack App starter from [vaadin.com/start](https://vaadin.com/start).