/covid19-banned-flights

See all banned flights during covid19 pandemic

Primary LanguageJavaScript

See Coronavirus Travel Restrictions, Across the Globe

This project utilizes pomber's time series JSON API as well as a scraper that I built here. As well as vasturiano's react globe library.

gif demo

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Setting up

Because this project requires a backend, you can run the scraper I mentioned before

Docker Instructions

If you have Docker then:

  • Build an image

    docker build -t <your username>/banned-flights
    
  • Run that image

    docker run -d <your username>/banned-flights
    
  • Ensure it's running

    docker ps