Track2Give

Inspiration

Every year, millions of tons of food are wasted because people forget what’s in their fridge or pantry until it’s too late.
We wanted to tackle this problem by creating a solution that helps people track their food inventory and get notified before items expire — turning potential waste into opportunities to give back.

Our inspiration came from the idea that small digital actions can lead to big environmental and social impact.
By preventing just a fraction of household waste, we can collectively reduce emissions and help feed more people.

What It Does

Track2Give is a smart food-tracking web app that:

  • Lets users add and manage their food items with expiry dates.
  • Automatically tracks time remaining before expiry.
  • Sends friendly alerts when items are about to expire.
  • Suggests donation options for soon-to-expire items.

How We Built It

We built Track2Give using the following technologies:

  • Frontend: HTML, CSS, and EJS templates for dynamic UI rendering.
  • Backend: Node.js and Express.js to handle routes, authentication, and API requests.
  • Database: MongoDB for storing user data, food items, and expiry timestamps.
  • Authentication: Passport.js for secure login and session management.
  • Notifications: Scheduled background tasks to check expiry dates and send alerts.

The development flow looked like this:

  1. Design & Wireframing – Defined user flows and designed a clean, accessible interface.
  2. Backend Setup – Built Express routes for adding, editing, and deleting food items.
  3. Database Integration – Structured MongoDB collections to store food data efficiently.
  4. Logic Implementation – Used date arithmetic to compute remaining shelf life.
  5. Testing – Validated accuracy of expiry calculations and improved performance.

Challenges We Ran Into

Building Track2Give wasn’t without its challenges:

  • Date management: Handling date calculations consistently across time zones.
  • Real-time updates: Making sure expiry alerts update automatically without manual refreshes.
  • Database relationships: Linking users with their personal inventories securely.
  • UI consistency: Ensuring the interface was intuitive and responsive across devices.

Each challenge helped us improve our problem-solving and debugging skills.

Accomplishments That We're Proud Of

We’re proud that we turned an everyday issue — forgotten groceries — into a practical and scalable tech solution.
Some highlights include:

  • Building a fully functional, data-driven inventory tracker.
  • Designing a clean, modern interface that anyone can use.
  • Implementing real-time expiry alerts successfully.
  • Promoting food donation and sustainability awareness.

What We Learned

Throughout this project, we learned:

  • How to structure a full-stack application from scratch.
  • How to implement authentication securely with Passport.js.
  • The importance of clean UI and user experience design.
  • How impactful even small software solutions can be when aimed at sustainability and social good.

What's Next for Track2Give

We plan to expand Track2Give with:

  • AI-powered expiry prediction using OCR-based receipt scanning.
  • Donation integration with local food banks and charities.
  • Mobile app version for easy barcode scanning and item tracking.
  • Community leaderboard for rewarding users who donate frequently.

Our long-term goal is to make Track2Give a platform that not only prevents waste but connects communities through giving.

Developed with ❤️ for sustainability and social impact.

Share this project:

Updates