Git Product home page Git Product logo

planedemic's Introduction

Planedemic

Our submission for MLH's 2020 Winter Hacklympics.

About

With COVID-19 vaccine availability in sight, people will be traveling regardless of potential risks. Planedemic is a flight recommendation engine that combats this by generating the lowest-risk routes between two locations using live case numbers and historical flight path data.

Instructions

To run this web application, you must first instantiate the front-end and back-end services. For the frontend, navigate to the WinterHacklympics-2020/planedemic subdirectory, install prerequisite packages with npm install, then start the node server with npm start. For the backend, navigate to the WinterHacklympics-2020/planedemic/backend subdirectory and run index.js with your preferred process manager (or simply node index.js).

After starting your instance of the servers, you can navigate to localhost:3000 to view the live web app. To use the app, input a US IATA airport code for both the Start and Destination input boxes and select Submit. The app will display the best routes it calculates, color coded based on COVID risk.

Demo video:

Demo video

Description

In the back-end, Planedemic generates a graph network (from data stored in Firebase) of airport connections. The graph uses historical flight routes, weighted by live COVID data per state sourced from the COVID Tracking Project API and airport metadata (i.e. the number of connections). When an input is submitted from the website to the backend, the backend executes Djikstra's algorithm on the graph network to find up to six of the lowest-weighted paths, then sends the paths & their costs to the frontend to be classified & displayed for the user.

Future Improvements

  • Make the frontend look more appealing & improve the UX
  • Improve code quality & efficiency in the backend
  • Improve algorithms to use modern research on COVID spread to improve accuracy of predictions
  • Implement current flight data & allow for booking of flights through the website
  • Include non-US airports in flight route generation

Contributors

Made for the Winter Hacklympics hackathon by Himanshu Biradar, Shravan Ravi, and Akshin Vemana.

planedemic's People

Contributors

shravanravi2002 avatar akshinvemana avatar himanshubir avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

shravanravi2002

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.