A Customer Relationship Management class project with GUI & SQL database
Create the database 'travel_reservation_system' by running the sql file 'cs4400_travel_reservation_service_database.sql' provided in submission (by running it in mysql-workbench for example)
pip install mysql-connector-python
or if you use anaconda:
conda install mysql-connector-python
change the connection_config_dict according to your installation, for example:
connection_config_dict = {
'host':'localhost',
'user': 'root',
'password': 'password',
'db': 'travel_reservation_service'
}
to run the app execute the main.py python script in terminal using:
python3 main.py
or by using:
chmod +x main.py
./main.py
Tkinter is a Python binding to the Tk GUI toolkit. It is the standard Python interface to the Tk GUI toolkit, and is Python's de facto standard GUI use tkinter to make the different screens and aligned the lables and buttons using pack and grid function
MySQL Connector/Python, is a self-contained Python driver for communicating with MySQL servers used this to connect to the MySQL database created using the 'cs4400_travel_reservation_service_database.sql' script stored procedures: called the stored procedures created for phase 3 using the mysql.connector in python and used these to manupulate the database
all the team members have extensively tested the script
login, register, Customer Admin Owner Home, Admin Remove Flight, Book Flight, Customer Reserve Property
Book Flight, Customer Cancel Flight, Customer Rate Owner, Owner Add Property, Owner Remove Property, Owner Rate Customer, Customer View Flights
Admin Process Date, Customer View Flights, Customer Cancel Property Reservation, Customer View Properties, Customer View Individual Property Reservations, Owner Deletes Account
Admin Schedule Flight, Admin View Airports, Admin View Airlines, Admin View Customers, Admin View Owners, Customer Cancel Flight, Customer Review Property