htl-anichstrasse / aircraft-tracker

:airplane: Web app for visualizing the coverage area of a single flight traffic data receiving antenna

Home Page:https://htl-anichstrasse.tirol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aircraft-tracker

This application visualises the coverage area of a single antenna receiving data from air traffic.

Scripts

Nodemon

To start nodemon for the application's backend server simply execute npm run start.

Compilation of SASS

In order to compile SASS into regular CSS either use npm run compilesass / sass main.sass main.css to process all changes at once or use sass --watch main.sass main.css to continuously watch for changes and process them directly.

Installation

1. Clone this repository

git clone https://github.com/htl-anichstrasse/aircraft-tracker.git

2. Install dependencies

npm install

3. Setup MySQL database

Table structure

4. Enter required environment information in .env file

touch .env

Environment configuration using dotenv

Variable Description
MYSQL_HOST MySQL hostname
MYSQL_USER MySQL username
MYSQL_PASSWORD Password for the MySQL user
MYSQL_DB Name of the MySQL database to be used
MYSQL_TABLE_NAME Name of the table to be used (for example "dump1090data")
PORT Port of the express REST server

5. Enter backend host address in main.js

const HOST_ADDRESS = "http://localhost:1234";

Running the application

npm run start

Then fire up site/index.html in your web browser.

License

Licensed under the MIT license. See LICENSE for more information.

About

:airplane: Web app for visualizing the coverage area of a single flight traffic data receiving antenna

https://htl-anichstrasse.tirol

License:MIT License


Languages

Language:JavaScript 68.1%Language:HTML 22.5%Language:Sass 9.5%