/Ticketautomat

Ticket vending machine as web app.

Primary LanguageJavaThe UnlicenseUnlicense

GitHub issues GitHub collaborators

Ticketautomat 🎫

A ticket vending machine written in Java by Vincent and Caspar. Build with the Vaadin Flow framework and served on spring boot 🍀.

Features 🐛

  • Java front- & backend thanks to Vaadin
  • Ticket gets sent via email
  • Select date, number of tickets and more
  • Admin view with stats
  • Sqlite3 transaction database
  • Spring Boot server

image

Installation 💾

Option 1: Using jar

  • Download the .jar file from releases
  • Navigate into the directory where it is stored
  • run java -jar <filename>.jar (This should boot up a local server on port:8080)

IMPORTANT! The email sending doesn't work with the .jar!

Option 2: Running from source

  1. git clone this repo
  2. open /Ticketautomat in an IDE (vscode recommended)
  3. navigate to Ticketautomat/src/main/java/com/example/application
  4. create a new file called password.txt in the /views directory and add the password
  5. right-click on Application.java and select "run java" and go to localhost:8080 in your browser

Quickstart

Normal Usage:

Bildschirmaufnahme.2022-02-14.um.11.39.08.mov

Admin Usage:

  • User: Kermit
  • Password: SecureKermitPassword42069
Bildschirmaufnahme.2022-02-14.um.11.40.03.mov

What we've learned 🎓

  • OOP with Java
  • Working with the Vaadin Flow framework
  • Using multiple Git branches
  • Pair programming