- The project is a part of the course Principle of DBMS in College of Information and Communication Technology, Can Tho University.
- Developed by 3 students:
- Le Phuong Trung B2005900
- Ngu Cong Khanh B2012022
- Nguyen Hoang Dang Huy B2014915
- Database is powered by Railway.app using MySQL database, we will stop the service after finishing the report for the lecturer, avoiding service charge.
- Please use this as a reference only.
main.py is our first version of this, and it only runs on console, no UI available.
The main function codes of the project are mainly located in login.py, booking.py, FlightUI.py, passengerdashboard.py and init_db.sql.
-
Stored procedures or functions:
- We have 1 stored procedure coded in SQL to automatically fill in the number of available seat on newly added flights, see more in init_db.sql
-
Lists of functions:
- Login as employee
- Login as passenger
- Create ticket transaction
- Rollback ticket transaction
- Add information of planes
- Delete information of planes by planes ID
- Update information of planes
- Show information of planes
- Add information of flights
- Delete information of flights by flights ID
- Update information of flights
- Show information of flights
- Add information of employees
- Delete information of employees by employee ID
- Update information of employees
- Show information of employees
- Add information of passengers
- Delete information of passengers by pax ID
- Update information of passengers
- Show information of passengers
- Delete information of tickets by tickets ID
- Update information of tickets
- Show information of tickets
- Some other functions were coded in Python:
- Authenticating users
- Routing users to their correct dashboards
- Generating ticket ID
- Usable and friendly UI
- Download full source code here.
- The project using 100% Python with tkinter for UI and mysql connector for database.
- Install dependencies at requirement.txt.
- You can use local mysql to connect to database.
- After install, run login.py
- Typing in ID and password
- If you are an employee, tick the checkbox
- Else, typing passenger and passenger's password
Remember to add a "0" before the password sequence when typing in passenger password, due to dummy database design :v
ID is the employee ID or passenger ID, password is the phone number.
- Using provided functions as normal













