A swing GUI based movie ticket reservation system
-
Registered user can book 10% of the tickets before movie is released
-
Registered user gets full amount back when cancelling the ticket
-
Pay by card or by use your coupon
-
Cannot cancel ticket if movie is playing within 72 hours
-
Email alerts for tickets and coupons
-
config
- contains the config files containing important settings for the project to work -
docs
- various documents, including system diagrams, of the projectdocs/javadoc.zip
- javadoc as zip archive
-
images
- contains screenshots -
lib
- contains the JARs used by the project -
sql
- contains the SQL script to create database -
src
- contains all the source code as.java
files
-
JDK version 11.0.11 or above
-
MySQL server version 8.0.26 or above
-
Clone the repository on your machine
-
Start the MySQL server on your local machine
-
Open the file config/db_details.properties and replace existing username and port details with your MySQL server details
-
Connect to your MySQL server using an admin user like
root
-
Run this SQL script on the MySQL server. This script will create a schema moviedb and a user movieapp, create all necessary tables, and load them with some dummy data
-
To compile the source code, run the below command
$ javac -cp ".;lib/*" -sourcepath "src" -d "bin" src/movieTicketSystem/*java src/movieTicketSystem/controller/*java src/movieTicketSystem/model/*java src/movieTicketSystem/view/*java
-
To run the source code, run the below command
$ java -cp ".;lib/*;bin" movieTicketSystem.movieApp