This application utilizes Mapbox to display live VATSIM data.
In order for the application to function, three functions need to be active:
-
React Dev server
-
Express server (operates Express connection to React Dev server)
Run the following from the Command Line:
git clone https://github.com/incarnateTheGreat/vat-tracker
cd vat-tracker
Once the above steps are complete, download the latest dependencies by running:
npm install
-
From the Command Line, run
npm start
. -
Navigate to
http://localhost:4321/
. (You can change the PORT to whatever you wish via the package.json file)
In order to gather VATSIM and Airport data, you need to have an Express Server running in the background.
-
From the Command Line, open a new tab.
-
Go to
server
. -
Run
node server.js
, or use nodemon by runningnodemon server.js
. -
Should prompt
Express servers started!
shortly afterwards.
Using:
- React (to run the Dev server and operate all front-end technology)
- Mapbox (to draw Map, specifically using react-map-gl)
- Express (to run backend server)