Inspiration
We aim to tackle the lack of awareness not just by sharing key environmental facts, but by highlighting how carbon emissions impact our own lives and those around us. More importantly, we boost morale by offering an interactive, user-friendly platform that provides personalized encouragement to lower carbon footprints based on users' daily habits. Our platform addresses the root issue—awareness—by fostering a ripple effect. Studies show that informing one person can influence ten others, creating a powerful chain reaction. We believe in the compounding impact of this engagement: as more users participate, the movement grows. After all, we are all just ten conversations away from making a real difference for our planet.
What it does
Our platform is a sustainability tracker and carbon footprint calculator designed to help users measure and reduce their environmental impact. By integrating the Google Maps API, we accurately calculate carbon emissions based on users' transportation choices. At the end of each day, users receive a personalized assessment of their carbon footprint, empowering them to make more sustainable decisions. To enhance engagement, the platform features a leaderboard, interactive forms, and an information hub, fostering both competition and education. Targeted toward environmentally conscious individuals and those eager to reduce their footprint, our gamified approach makes sustainability both accessible and rewarding.
How we built it
For the sorting algorithm, we used vector cosine similarity to determine which recipe vectors were similar to the input vector. Then we sorted our array of recipes by that feature. Using React states we were able to continuously store the current value of the input as the user made changes and then pass it to the sorting function once the user hit submit.
Challenges we ran into
We had a lot of issues using React states. First, we tried to use it to store the changes the user made as they made them, but that proved to be unnecessarily complicated. Then, while implementing states for the passing of vector data, they kept on crashing. This issue turned out to be related to our router object which was creating separate pages. As a result of the time limit, we ended up creating only one page instead.
Accomplishments that we're proud of
As our first hackathon for each of us, we absolutely outdid ourselves. From honing technical skills to strengthening team communication through the development of such a detailed product, this experience pushed us to grow, unlike carbon emissions! (Yay, go green!🌱💚) We are incredibly proud of the functional result we achieved and its potential to make a positive impact on society.
What we learned
We have compiled a list of the tangibles and the life lessons we learned this weekend:
What's next for The Perfect Pantry
We would love to move our data (which is currently stored in the project) to an outside database such as MongoDB. In addition, it would be really cool to add a user component in which users can add recipes of their own as well, expanding the database even further.
Log in or sign up for Devpost to join the conversation.