Inspiration
Parsa and I realized Philadelphia is not the cleanest city, and as problem solvers, we implemented a web app where users can enter a barcode to get the sustainability score for the food product which shows the probability of it being recycled, reused, or reduced.
What it does
The web app takes the barcode from a user and returns a brief product description such as the brand, type of food, and origin, as well as the product's sustainability score.
How we built it
We used JavaScript, React.js, css, and Open Food Facts' API.
Challenges we ran into
We struggled to find the right API to be called as well as issues in calculating the probability of the product being reused, reduced or recycled based on its material.
Accomplishments that we're proud of
Built a functional barcode app using React to retrieve product data and sustainability info via Open Foods Facts API. Created a user-friendly UI with a focus on clear design and smooth interaction. Integrated sustainability insights, promoting environmental awareness.
What we learned
We learnt the value of having the exact and relevant API to be used, it plays a big role and having the correct one definitely shows you why.
What's next for Barcode Input
We hope to integrate a barcode scanner using the camera app on mobile phones, and hopefully make it more appealing.
Built With
- api
- css
- javascript
- react.js


Log in or sign up for Devpost to join the conversation.