Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danilomurer/timestamper
Vaadin 14 Web-Application for booking expenses on projects
https://github.com/danilomurer/timestamper
Last synced: 4 days ago
JSON representation
Vaadin 14 Web-Application for booking expenses on projects
- Host: GitHub
- URL: https://github.com/danilomurer/timestamper
- Owner: DaniloMurer
- License: unlicense
- Created: 2021-05-07T10:40:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-24T10:47:03.000Z (about 3 years ago)
- Last Synced: 2024-10-11T15:45:13.726Z (28 days ago)
- Language: Java
- Size: 142 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Time Stamper
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 and debugging the application
### Running the application from the command line.
To run from the command line, use `mvn` and open http://localhost:8080 in your browser.### Running and debugging the application in Intellij IDEA
- Locate the Application.java class in the Project view. It is in the src folder, under the main package's root.
- Right-click on the Application class
- Select "Debug 'Application.main()'" from the listAfter the application has started, you can view it at http://localhost:8080/ in your browser.
You can now also attach breakpoints in code for debugging purposes, by clicking next to a line number in any source file.### Running and debugging the application in Eclipse
- Locate the Application.java class in the Package Explorer. It is in `src/main/java`, under the main package.
- Right-click on the file and select `Debug As` --> `Java Application`.Do not worry if the debugger breaks at a `SilentExitException`. This is a Spring Boot feature and happens on every startup.
After the application has started, you can view it at http://localhost:8080/ in your browser.
You can now also attach breakpoints in code for debugging purposes, by clicking next to a line number in any source file.
## 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/` 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).## Deploying using Docker
To build the Dockerized version of the project, run
```
docker build . -t myapp:latest
```Once the Docker image is correctly built, you can test it locally using
```
docker run -p 8080:8080 myapp:latest
```