VoyaQuest is a full-featured blazor web application for booking flights and exploring hotels. It offers seamless search, currency conversion, and PDF itinerary downloads by leveraging multiple external APIs.
- Flight Search: Search flights based on origin, destination, dates, and passenger details.
- Hotel Search: Browse hotel options based on location with filtering capabilities.
- Currency Conversion: Real-time conversion of prices to the user's selected currency.
- Booking: Download a detailed itinerary of booked flights in PDF format.
- Error Handling: Integrated error handling ensures smooth operation.
To set up VoyaQuest locally:
- Clone the repository:
git clone https://github.com/PatrickOrjieh/VoyaQuest.git
- Navigate to the project directory:
cd VoyaQuest
- Install the dependencies:
dotnet restore
- Set up the environment variables:
- Create a
.env
file in the root directory. - Add the following environment variables to the
.env
file:AMADEUS_API_KEY= AMADEUS_API_SECRET= HOTEL_BEDS_API_KEY= HOTEL_BEDS_API_SECRET= OPEN_EXCHANGE_RATE_API_KEY=
- Create a
- Run the application:
dotnet run
- Search Flights: On the home page, users can input travel details like departure and arrival airports, trip type, dates, and passengers.
- Explore Hotels: Users can view available hotels in their destination city and filter them by star ratings.
- Currency Conversion: Users can select their preferred currency to view prices in.
- Book Flights: After selecting a flight, users can book it and download a detailed itinerary in PDF format.
- Amadeus API: Used for flight search.
- Hotel Beds API: Used for hotel search.
- Open Exchange Rates API: Used for currency conversion.
If you would like to contribute to this project, please fork the repository and create a pull request. Your contributions are welcome!
VoyaQuest is licensed under the MIT License.