Skip to content

ernestorbemx/FlightSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight Search

This project leverages Amadeus REST API into a fully usable web application for searching flight offers given a set of parameters. It is composed of two projects, a Spring Boot application as a lightweight wrapper on Amadeus API and a frontend application built with React

For specific documentation regarding both subprojects, read the corresponding README.

Running both apps using Docker

To run the application with the minimium setup required you should follow the following:

Prerequisites

  1. Download and install Docker Desktop/Engine in your computer
  2. Create an account on Amadeus and generate a new application (Client Secret And Client Id)
  3. Create a compose.env file in the same directory as this README file and set amadeus.client-id and amadeus.client-secret to the correspondint values of step 2.

Steps

  1. Build Spring Boot project: cd flight-search && ./gradlew bootJar
  2. Build the needed docker images cd .. && docker compose build
  3. Run the docker compose services docker compose run
  4. If everything sucessful, you should see the running application on http://localhost:3000 (Backend running on http://localhost:8080)

Contributing

Contributions are welcome! Please open an issue or pull request if you'd like to help.

  1. Fork the repo
  2. Create your feature branch: git checkout -b feature/FeatureName
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/FeatureName
  5. Open a pull request

About

Implement Amadeus REST API for a React App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages