This application visualises the coverage area of a single antenna receiving data from air traffic.
To start nodemon for the application's backend server simply execute npm run start
.
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.
git clone https://github.com/htl-anichstrasse/aircraft-tracker.git
npm install
Table structure
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 |
const HOST_ADDRESS = "http://localhost:1234";
npm run start
Then fire up site/index.html in your web browser.
Licensed under the MIT license. See LICENSE for more information.