This repository contains a Flight Search Application that uses the Amadeus API to retrieve flight data. Follow the instructions below to set up and run the project locally using Docker.
- Search for flights using the Amadeus API
- Simple and intuitive user interface
- Fully containerized with Docker
- Docker must be installed on your system.
- You need Amadeus API credentials (Client ID and Client Secret). You can obtain these by creating an account and a project on the Amadeus Developer Portal.
Clone the project to your local machine:
git clone https://github.com/demian-ae/flightsearchapp
cd flightsearchapp
Create a .env
file in the root of the project and add your Amadeus API credentials:
CLIENT_ID=your_client_id
CLIENT_SECRET=your_client_secret
Replace your_client_id
and your_client_secret
with your actual Amadeus API credentials.
Use Docker Compose to Run and build the necessary images:
docker-compose up --build
The application will start and be accessible at:
http://localhost:8080
- Open your browser and navigate to
http://localhost:8080
. - Use the search form to find flights by providing the required inputs.
- Ensure that Docker is installed and running on your system.
- Verify that your
.env
file contains the correct Amadeus API credentials. - Check for errors in the terminal output when running
docker-compose up
.
Contributions are welcome! Feel free to fork the repository and submit a pull request.