Thanks to visit codestin.com
Credit goes to github.com

Skip to content

JorgeSanchez-ENC/FlightSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight Search Application

This application allows you to perform request to the Amadeus API, searching and showing several flight results for a given search.

Requirements

Docker Docker Compose

Backend

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.

Frontend

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.

Geting started

  1. Clone the repository:
git clone https://github.com/JorgeSanchez-Encora/FlightSearch.git
  1. Change to the project directory:
cd FlightSearch
  1. Add your Amadeus credentials to the backend application.properties file
apiKey = <Your api key>
apiSecret = <Your api secret>

Build and Run using Docker Compose

  1. Build and start both services
docker-compose up --buld
  1. In case that you have already ran the build command, you can use
docker-compose up
  1. To turn down both services use
docker-compose down
  1. To acces the aplication, go to

Runing the app without docker

Backend

Prerequisites

  • Java 22
  • Spring Boot 3.3.3
  • Gradle 8.8

Bulding and running the application

  1. First, change to the backend directory
cd backend
  1. Second, build the .jar file using
./gradlew build
  1. Then, run the app using
./gradlew bootRun

Frontend

Prerequisites

  • Node 22
  • npm 10

Building and running the application

  1. First, change to the frontend directory
cd frontend
  1. Second, install the dependencies
npm install
  1. Then, run the app using
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors