Skip to content

IvanBuccella/FindFlights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FindFlights

This is a PHP software that finds available flights assuming at most 2 stopovers. It's developed using PHP Laravel framework, ReactJS framework, and CoreUI for React. The problem is solved by revisiting the Bellman-Ford algorithm.

Project Guidelines

Database Structure

TAB1 - airport

- id
- name
- code
- lat
- lng

TAB2 - flight

- code_departure
- code_arrival
- price

Challenge

Try to create a PHP algorithm that finds the lowest price, given two different airport's code in TAB1, assuming at most 2 stopovers! At the end, represent it in a working landing page.

Tutorial Structure

Installation

Prerequisites

Repository

Clone the repository:

$ git clone https://github.com/IvanBuccella/FindFlights

Environment Variables

Set your own environment variables by using the .env-sample file. You can just duplicate and rename it in .env.

Build

Build the local environment with Docker:

$ docker-compose build

Run Docker Services

$ docker-compose up

Enjoy :-)

You can use the application by visiting the http://localhost:${FRONTEND_PORT} URL.

About

This is a PHP software that finds available flights assuming at most 2 stopovers. It's developed using PHP Laravel framework, ReactJS framework, and CoreUI for React. The problem is solved by revisiting the Bellman-Ford algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors