The Booking Program is a terminal-based application that provides functionality for managing bookings for flights and hotels within itineraries. It consists of two main user roles: User and Admin.
- User Profile: Users can view profile information.
- Payment Cards: Users can add payment cards (credit or debit) for making bookings.
- Itinerary Creation: Users can create itineraries by specifying travel dates and cities.
- Itinerary Management: Users can view their booked itineraries and see all details of the booked flights and hotels, including pricing.
- Flight Booking: Users can add flights to their itineraries by searching for available flights, viewing flight details, and selecting flights for booking.
- Hotel Booking: Users can add hotels to their itineraries by searching for available hotels, specifying check-in date and cities, and selecting rooms for booking.
- User Management: Admins can view users data.
- Agency Management: Admins can add new airline companies and hotel chains to the system.
- Data Storage: The program reads and writes data to store user information, flight details, available hotels.
To use the Book Program, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory.
- Open your terminal and run the program by executing
./book_program
(or the appropriate command).