Inspiration
With this being our first hackathon, we wanted to learn and put our skills to the test of using React to code a web application. We wanted to build an easy-to-use web app and utilize Google Maps's API in a way that could help users see how much carbon emissions were produced by driving and how to reduce it since we use our cars a lot.
What it does
Our web app allows users to visualize the carbon emissions they can save while traveling. Users input where they want to travel to and the app displays information on how they can reduce their carbon footprint by suggesting other forms of transportation such as bicycling, walking/jogging.
How we built it
We utilized React to build the web application along with using Google Maps's API and Climatiq API to help us output data that allows users to see their carbon footprint. This includes showing how far the route is, how long it takes, how much carbon emissions regular gas-powered vehicles produce, and how much carbon emissions is reduced by walking/jogging or by public transit.
Challenges we ran into
The biggest challenge was figuring out and learning Google Maps's API and how to implement specific parts such as gathering the distance of the routes and the carbon emission rates.
Built With
- climatiq
- google-maps
- react
Log in or sign up for Devpost to join the conversation.