The Flight Tracker App provides the user a way of following currently flying airplanes, as well as different way of searching for a particular flight.
- A Lufthansa API key must be registered
- A Mapbox access token must be registered
- Make a
.env.prod
file at the root of the project with the following environment variables.LUFTHANSA_API_KEY=<your_api_key> OPENSKY_BASE_URL=https://opensky-network.org/api/states/all MAPBOX_API_TOKEN=<your_mapbox_access_token> DATA_PATH=.\data BASE_URL_CFI=https://api.lufthansa.com/v1/operations/customerflightinformation/ BASE_URL_SCHEDULES=https://api.lufthansa.com/v1/flight-schedules/flightschedules/passenger? DATA_DIR=/home/data LOG_DIR=/home/log DASH_LOG=dash.log CRON_LOG=cron.log
Docker must be installed and running on your platform.
Run the Docker Compose file with:
docker compose up
The App has a few functionalities such as :
- Display infos when clicking on an airplane on the map
- Search a flight
- Search route infos
- Search airport for departures and arrival
In the Search bar, the airport fields must be IATA codes
- Suggest flights when typing in the search panel
Overview
Click on airplane
Hover on airplane
Route
Departures and Arrivals
Trace of a Flight