Railway Ticket Reservation System Description
Our project aims to develop a train station ticket counter application in Java with a graphical user interface based on Swing. The main objective is to automate ticket counter operations to reduce traveler waiting times and optimize ticket sales management. Key features include managing journeys, discount cards, generating reports for the administrator, and selling tickets and printing them for travelers. The technologies used include Java for the business logic, Swing for the GUI, and MySQL for storing information. The project is structured in three main stages: analyzing requirements with UML diagrams (Use Case), designing the application with class diagrams and GUI mockups, and implementation including the implementation of business logic, GUI, and integration of the database. Unit tests are also conducted for each component of the application.
Technologies Used
IHM
MVC
Java
MySQL (Database)
JDBC (Java Database Connectivity)
Installation
Clone the repository:
bash
git clone https://github.com/Hisokratch101/ONCF-clone.git
Import the project into your preferred IDE (e.g., IntelliJ IDEA, Eclipse).
Set up the MySQL database:
Create a database named oncf.
Import the database schema from database/schema.sql.
Configure the database connection details in src/com/railway/model/database/DatabaseConnection.java.
Run the project.
Contributors
- AliDataLab
- Hisokratch101
- MOA-LAM
- ahmed-elhaitam
- othmaneLK
License
This project is licensed under the MIT License - see the LICENSE file for details. Acknowledgments
Java Documentation
MySQL Documentation
JDBC Documentation