Travel-Agency is a web app made in PHP 7 with the Laravel Framework 5.7. It uses the Amadeus RESTFUL API to get flight information.
This project provides an example of consuming the Amadeus API using guzzle, including the generation of the Api Key
and the Api Secret
necessary for this implementation. The Api keys can be founded on the Amadeus documentation.
- Create a new Laravel project.
composer create-project --prefer-dist laravel/laravel travel-agency
- Go to C:\xampp\htdocs
- Replace the recently created travel-agency folder with the app folder provided.
- Run the migrations. (in case the migrations don’t work you can use the
dream_travel_db.sql
file provided on /database) - Run the application.
http://localhost/travel-agency/public
This project is licensed under the MIT License - see the LICENSE.md file for details