- Search for flights using the Amadeus API
- Straightforward user interface
- Fully containerized with Docker
- Docker must be installed.
- Obtain Amadeus API credentials (Client ID and Client Secret) from the Amadeus Developer Portal.
- Clone the Repository
git clone https://github.com/ramonGomezEnc/BreakableToyII.git
cd BreakableToyII- Create the
.envFile Inside the backend folder, create a.envfile with:
API_CLIENT_KEY=your_amadeus_api_key
API_CLIENT_SECRET=your_amadeus_api_secretReplace your_amadeus_api_key and your_amadeus_api_secret with your actual credentials.
5. Run the Application
Build and start the containers:
docker-compose up --build- Access the app at:
http://localhost:8080
- Open your browser and go to
http://localhost:8080. - Fill out the flight search form and click search.
- Select a specific flight option if you want to find more details about it.
- Make sure Docker is running.
- Confirm that your
.envfile has the correct Amadeus credentials. - Known bug: The first time you search from the landing page, you may need to refresh the page—this only happens once.