The Boarding Pass Management System is a Java-based terminal application designed to manage boarding passes efficiently. This system adheres to object-oriented programming (OOP) principles, ensuring modularity, scalability, and maintainability. It provides essential features for creating, managing, and searching boarding pass records, all while demonstrating clean architecture and optimized algorithms.
- Add Boarding Pass: Create a new boarding pass with passenger details and flight information.
- Delete Boarding Pass: Remove an existing boarding pass using its unique identifier.
- View All Boarding Passes: Display all stored boarding passes in a user-friendly format.
- Search Boarding Pass: Quickly retrieve a boarding pass using its unique identifier with high efficiency.
- Terminal-based Interaction: Easy-to-use, menu-driven interface.
- Language: Java
- Core Concepts: Object-Oriented Programming (OOP)
- Data Structure: HashMap for optimized data retrieval and management
The project is organized into the following components for better modularity:
- Model: Represents the data structure for a boarding pass (e.g.,
BoardingPass
class). - Service: Contains business logic for managing boarding passes (e.g.,
BoardingPassService
class). - Application: The entry point (
App.java
) with a terminal-based menu for user interaction.
-
Clone the Repository:
git clone https://github.com/amrudzr/boarding-pass.git cd boarding-pass
-
Compile the Code:
javac src/main/java/com/boarding/model/*.java src/main/java/com/boarding/service/*.java src/main/java/com/boarding/App.java -d out
-
Run the Application:
java -cp out main/java/com/boarding/App
Contributions are welcome! Please feel free to fork the repository, submit pull requests, or open issues for suggestions and improvements.
This project is licensed under the MIT License. You can find the full license text in the LICENSE file.
Note:
I've replaced the non-breaking space with a regular space in the git clone
command.