This is a simple application in which you can manage flights data, see the details about the flights and the passengers who are aboard. Done Using Java Swing,JDBC and MySql.Where user can able to see ongoing flights from one place to another and able to book flight tickets.
flights This app will keep track of all the flights available and the specific route will display all the flights and on clikcing the flight you will be shown the details of that particular flight. Here we can even add passengers to a flight.
users In this app users can login to check their details and the flights which they are on. Additionally they can even book flights from here. I implemented this to learn how authentication works in django.
admin This is a route where you can login and see the data about all the models (Flights, Users and Airports) and you can add or delete certain data.
For simplicity I used :
username : admin password : admin so that you guys can check it out and add or delete data to see how the changes are shown in the website.
1)Admin login: The System has a secure login system for admins to access the application's features.
2)Add Flight: Admins can add new Flights to the System by entering their details such as FlightId, arrival, departure,Fare,Date,Duration and Total seats.
3)Search flight and Book Ticket: After adding a flight, admins can search flights from one place to another and add customerid and succesfully book tickets.
1)Java: Used for the core coding of the application.
2)Java Swing: Used for developing the graphical user interface.
3)SQL: Used for creating the database structure and storing data.
4)JDBC: Used for connecting the application with the database.
To use the application, you can follow these steps:
1)Clone the repository to your local machine using git clone
2)Open the project in your favorite IDE (e.g. Eclipse, IntelliJ IDEA, NetBeans)
3)Configure the database connection details in the database.properties file
4)Run the application by executing the Main.java file
If you would like to contribute to this project, please feel free to fork the repository and submit a pull request with your changes. We welcome all contributions!
If you have any questions or suggestions about the project, feel free to contact us at [email protected].