Skip to content

rahulkarthickr/conference-booking-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conference Booking Application

This is a Java-Spring Boot project that allows users to book tickets for a conference. It handles ticket reservations, stores booking details in an H2 in-memory database, and provides basic data management functionality using JPA

Features

  • Simple command-line ticket booking application
  • Keeps track of remaining tickets and prevents overbooking
  • Provides confirmation messages for each booking
  • Stores booking information in an H2 database

Requirements

  • Java 21 or later
  • Maven (ensure Maven is installed and added to your system's path)

Usage

  1. Clone the repository

    git clone https://github.com/rahulkarthickr/conference-booking-app.git
  2. Navigate to the project directory

    cd conference-booking-app
  3. Comment out the below lines in application.properties and update your database username & password

    # spring.datasource.username=your-username
    # spring.datasource.password=your-password
  4. Build the project

    mvn clean install
  5. Run the application

    mvn spring-boot:run
  6. Test the application at

    http://localhost:8080/test
  7. Access the database by entering username and password at

    http://localhost:8080/h2-console/
  8. Run the SQL query in the console to verify that the data is being saved

    SELECT * FROM bookings;

Contribution

If you encounter any issues or have suggestions for improvements , please open an issue or submit a pull request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages