Skip to content
EcoTracker

EcoTracker

Shrink Your Footprint, Earn the Future.

Created on 21st June 2025

•

EcoTracker

EcoTracker

Shrink Your Footprint, Earn the Future.

The problem EcoTracker solves

Consumers lack awareness and real-time tools to track the carbon footprint of the products they use daily. There's no easy way to identify high-emission items or measure personal environmental impact, and no incentive system to encourage low-carbon choices.

🌱 EcoTracker is a web-based app promoting climate-conscious consumerism.

📷 Users scan barcodes or product images using their smartphone browser—no app download needed.

🔍 The app identifies the product via a product recognition API.

🌍 It fetches the product’s CO₂ footprint from sustainability databases.

🧮 Users’ personal carbon scores are automatically updated in real time.

🎯 App sets monthly carbon goals tailored to each user.

🏆 Rewards eco-friendly behavior with eco-tokens or NFT badges.

🤝 Users can collect, share, or join eco-community challenges with their rewards.

🔄 Encourages greener habits without disrupting everyday shopping routines.

đź’š Makes sustainability easy, informative, and engaging from any browser.

Challenges we ran into

During the development of EcoTracker, we encountered two major technical challenges that required careful debugging and problem-solving.

  1. Inconsistent API Data Fetching:
    Our initial goal was to fetch product data—including name, brand, and sustainability details—through a product recognition API based on scanned barcodes or images. However, we faced significant issues where the API would either fail to return accurate results or respond inconsistently. This affected the core functionality of the app, as users couldn’t reliably receive CO₂ footprint data.
    To resolve this, we:

=>Implemented better error handling and fallback mechanisms.

=>Switched to a more robust and verified API provider.

=>Added data validation layers to ensure only clean, structured data was processed.

=>Created a caching mechanism to store frequently scanned products and reduce API load.

  1. MetaMask Wallet Integration Issues:
    Integrating MetaMask to manage user wallets and reward NFTs/eco-tokens proved challenging. Browser compatibility (especially with Safari and mobile devices) caused unexpected permission issues and failures in wallet connection.
    To fix this, we:

=>Ensured Ethereum provider detection was cross-browser compatible.

=>Used event listeners to handle permission prompts and account changes.

=>Conducted extensive testing on various browsers and devices.

=>Added fallback messages and UI prompts to guide users through permission steps.

These efforts ensured seamless product data fetching and reliable MetaMask wallet integration.

Tracks Applied (1)

Best Use of MongoDB Atlas

Flexible Data Storage: Utilizes MongoDB Atlas’ document-based structure to store and manage user profiles, scanned produ...Read More
Major League Hacking

Major League Hacking

Discussion

Builders also viewed

See more projects on Devfolio