This application allows you to perform request to the Amadeus API, searching and showing several flight results for a given search.
Docker Docker Compose
The backend of the project is in charge of communicating with the Amadeus API, is located in the backend directory and is built using Spring Boot with Gradle.
The fronted communicates with the backend, sending and receiving the information to display the results, is located in the frontend directory and built using React with TypeScript.
- Clone the repository:
git clone https://github.com/JorgeSanchez-Encora/FlightSearch.git- Change to the project directory:
cd FlightSearch- Add your Amadeus credentials to the backend application.properties file
apiKey = <Your api key>
apiSecret = <Your api secret>- Build and start both services
docker-compose up --buld- In case that you have already ran the build command, you can use
docker-compose up- To turn down both services use
docker-compose down- To acces the aplication, go to
- Frontend: http://localhost:3000
- Backend: http://localhost:8080
- Java 22
- Spring Boot 3.3.3
- Gradle 8.8
- First, change to the backend directory
cd backend- Second, build the .jar file using
./gradlew build- Then, run the app using
./gradlew bootRun- Node 22
- npm 10
- First, change to the frontend directory
cd frontend- Second, install the dependencies
npm install- Then, run the app using
npm start