GithubHelp home page GithubHelp logo

kingcobra2468 / hack-davis-2020 Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 4.66 MB

2020 HackDavis hackathon project. Google Maps extension that includes co2 emissions and calories burned for certain travel methods.

Python 0.26% CSS 30.44% JavaScript 61.68% Less 3.51% SCSS 3.56% Jinja 0.55%
hackathon hackdavis

hack-davis-2020's Introduction

Greenify

Inspiration

While at Davis, we noticed that many students still take the car to school even when there is a reliable bus system and accessibility for the bicycle's around the town. We feel that this is due to the lack of scope in regards to how every trip impacts the environment and ones health. Thus, we felt something must be done.

What It Does

Alt text Greenify's web application takes in user input for the start and end destination. It displays different possible routes, showing the environmental and health impacts of these routes.

Alt text

As seen from the above route, relying on transit would have a high CO2 emission and little beneficial impact on a person's health.

Alt text

However, the same route on a bike would be a great workout and also prevent a negative impact on the environment.

Installation Steps

  1. Get python3 on your system.
  2. Install necessary packages with pip3 install -r requirements.txt.
  3. Setup Google Cloud account to get API key. Then enable api access for the following API's (Note for some of these API's to work, billing must be enabled):
    • Directions API
    • Geocoding API
    • Maps JavaScript API
    • Places API
  4. Configure config.py by adding your API key and changing necessary sever metadata like port of ip address.
  5. Run server with python3 run.py and go onto the appropriate url.

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.