This is a Java-based online reservation system that allows users to log in, sign up, and make reservations for travel. It also provides the functionality to cancel reservations. The system interacts with a MySQL database to store and retrieve reservation information.
Installation Instructions
- Clone or download the project from the GitHub repository: [repository_url].
- Import the project into your Java IDE (e.g., Eclipse, IntelliJ) as a Java project.
- Set up a MySQL database with the name "mydatabase" and configure the database connection properties in the code (e.g., database URL, username, password).
- Build and run the project.
Usage Instructions
- Launch the application by running the LoginForm class.
- Log in with your username and password, or sign up for a new account.
- Make a reservation by providing the required information (e.g., name, email, mobile number, departure station, arrival station, date, travel class).
- Cancel a reservation by entering the PNR number.
- View reservation details for a valid PNR number.
Contribution Guidelines
We welcome contributions to improve this online reservation system. If you would like to contribute, please follow these guidelines:
- Fork the repository and create a new branch for your changes.
- Make your changes and test them thoroughly.
- Submit a pull request describing your changes and their benefits.
License
This online reservation system is released under the MIT License, which means it is open-source and free to use, modify, and distribute. Please see the LICENSE file for more details. Note: This project may use third-party libraries that are subject to their own licenses. Please refer to the respective license files of those libraries for more information.