Skip to content

pavaud/flight-tracker

Repository files navigation

Flight Tracker

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.

Prerequisites

  • 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

Setup

Docker must be installed and running on your platform.

Run the Docker Compose file with:

docker compose up

Getting Started

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

TODOs

  • Suggest flights when typing in the search panel

Web Interface

Overview

Overview

Click on airplane

Click

Hover on airplane

Hover

Route

Route

Departures and Arrivals

Departures and Arrivals

Trace of a Flight

Departures and Arrivals

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published