This repository houses examples related to development of a Flight & Hotel search/booking engine using the development sandboxes available from popular GDS's Amadeus and Sabre.
-
Clone the repository in your preferred location.
-
Change the directory to TravelTime/src/main/resources/static
-
run
- $> npm install
- $> npm run build
- $> npx webpack --config webpack.config.js
-
cd to main project directory i.e. TravelTime
-
create a property file src/main/resources/supplier.properties
- Add following properties to it
- amadeus.url=https://api.sandbox.amadeus.com/v1.2
- amadeus.api.key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- sabre.url=https://developer.sabre.com/io-docs/call-api
- sabre.clientId=XXXXXXXXXX
- sabre.clientSecret=XXXXXX
- amadeus.api.key can be obtained by registering at Amadeus for a developer account with Amadeus at https://sandbox.amadeus.com
- sabre.clientId and sabre.clientSecret could be obtained by registering for a developer account with Sabre at https://developer.sabre.com/
- Add following properties to it
-
Have a MySQL Host up and running with a Schema traveltime Change the following properties in application.properties to use the schema
- spring.datasource.url=jdbc:mysql://localhost:3306/traveltime
- spring.datasource.username=traveltime
- spring.datasource.password=traveltime
-
Run $> mvn spring-boot:run to run the application.
-
Following is the search results page for hotel search by airport location
-
Following is the hotel-details page which includes room details
- Following is the flight result(s) page indicating available flights from 'LHR' to 'CDG' with return options on 31st March 2018 (onward) and 4th April 2018 (return)
- Following is the flight detail section
-
On clicking the 'Outbound Details' one can view the details about various legs of the outbound option.
-
On clicking the 'Inbound Details' one can view the details of about various legs of the inbound option.
-
For one way flights only open-jaw flights (outbound) would be shown.
- Amadeus - Flights
- Low-fare-search
- Extensive-search
- Inspiration-search
- Search Airport by location
- Affiliate-Search
- Nearest Relevant Airport
- Auto suggest Airport
- Amadeus - Hotels
- Search Hotels by Airport Code
- Sabre - Flights
- Shop Insta Flights
The application is an effort to illustrate how the aggregation of results from various suppliers is done using simple search parameters. The intent of this internet search & booking engine is to let development teams explore various APIs made available by GDS's which could be used to provide quality search/booking experience to users.