Skip to content

ReBy298/FlightSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search Flights App

Search Flights App is a web application built with React TypeScript for the front-end and Spring Boot with Java 17 and Gradle for the back-end. This application utilizes the Amadeus API to search for flights. Users can search for flights and view flight details, but booking or scheduling flights is not supported.

Prerequisites

Front-End

  • NODE JS --v 22
  • NPM --v 10

Back-End

  • Java --v 17
  • Spring Boot --v 3.3.3
  • Gradle --v 8.8

Dockerized App

This project can be built using the docker-compose file. Both the front-end and back-end have their own Dockerfile. Below are the commands to build, run, and stop the application using either Podman or Docker.

To use this project, you might need:

Docker

Podman

one of this two tools on your computer. You also need to have an account in the tool you choose and the corresponding base images.

Docker/Podman Commands

Building the Dockerized App

podman-compose build

or

docker-compose build

Running the Dockerized App

podman-compose up

or

docker-compose up

Stopping the Dockerized App

podman-compose down

or

docker-compose down

Non-Dockerized App

To run the app without Docker Compose, follow these steps. Make sure to start the back-end first.

Back-End: Spring Boot Application

The back-end of this project is a Spring Boot application built with Java 17 and Gradle and it runs on localhost at port 9090.

Building the Application

To construct the application, use the following command:

./gradlew build

Running the Application

To start the application, use the following command:

./gradlew bootRun

Running Tests

To run the tests for the application, use the following command:

./gradlew test

Front-End: React TypeScript Application

The front-end of this project is a React application written in TypeScript. It runs on localhost at port 3000.

Download Dependencies

To download the dependencies, use the following command:

npm install

Building the Application

To construct the application, use the following command:

npm build

Running the Application

To start the application, use the following command:

npm start

Running Tests

To run the tests for the application, use the following command:

npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors