Skip to content

carron10/Stadium-ticket-booking-system

Repository files navigation

TicketBookingSystem 🏟️

A user-friendly online ticket booking system for stadium events built with SpringBoot. To view the website visit here.

💻 Installation

To get started with the TicketBookingSystem, follow these steps:

  1. Clone the repository by running the command: git clone https://github.com/carron10/Stadium-ticket-booking-system
  2. Open the project in your favorite IDE.
  3. Build the project with Maven using the command: ./mvnw spring-boot:run
  4. Run the project by running the main class com.ticket.TicketSystem.TicketSystemApplication
  5. Access the application at: http://localhost:8080

Usage

Users can interact with the TicketBookingSystem through a web interface. Here's how to use the system:

  1. Go to the TicketBookingSystem website.
  2. View the available games or upcoming games.
  3. Choose the game you'd like to attend.
  4. Select the ticket type you'd prefer.
  5. Make the payment to purchase the ticket.
  6. Receive an email with the ticket details and a unique QR code.
  7. Show the QR code at the entrance gate to attend the event.

Features

  • User-friendly web interface for ticket booking
  • Browse available games: Customers can view a list of upcoming games.
  • Select a game: Customers can choose the game they want to attend.
  • Choose ticket type: Customers can select the type and quantity of tickets they wish to purchase.
  • Make a purchase: Customers can proceed to checkout and complete their ticket purchase.
  • Receive email confirmation: After successful purchase, customers receive an email with their ticket and a QR code for entry.

Build with

  • Java
  • SpringBoot
  • Maven
  • Thymeleaf
  • Bootstrap
  • H2 Database: For storing game and ticket information in-memory.
  • JavaMail API: For sending email notifications.
  • QR Code Generator API: For generating QR codes.

Tools Required

  • Java
  • Git for version control
  • Maven for build automation
  • Web browser to access the web interface

Contribution

We welcome contributions to improve the TicketBookingSystem. Follow these steps to contribute:

  1. Fork the repository.
  2. Make your changes in a separate branch.
  3. Commit your changes with clear and descriptive messages.
  4. Submit a pull request.
  5. We'll review and merge your changes if they're approved.

License

This project is licensed under the MIT License.