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.
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.
As seen from the above route, relying on transit would have a high CO2 emission and little beneficial impact on a person's health.
However, the same route on a bike would be a great workout and also prevent a negative impact on the environment.
- Get python3 on your system.
- Install necessary packages with
pip3 install -r requirements.txt
. - 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
- Configure
config.py
by adding your API key and changing necessary sever metadata like port of ip address. - Run server with
python3 run.py
and go onto the appropriate url.