About LastBite

Inspiration

LastBite started with a simple thought: perfectly good food shouldn't go to waste just because it's close to its expiry date. At the same time, many people are looking for affordable food options. We wanted to build something that could help solve both problems.

How the Project Evolved

Our original idea was a household-focused food management application. It allowed users to scan food products, track expiry dates, manage their fridge inventory and receive reminders before food went bad.

During the PayPal AI Hackathon, we expanded that idea beyond individual households. We introduced a separate business experience for restaurants and grocery stores, turning LastBite into a two-sided platform where businesses can list surplus food at discounted prices and customers can purchase it.

This also introduced AI-powered surplus insights, personalised recommendations and dynamic discount suggestions, along with PayPal integration for payments. The project evolved from simply helping people manage food at home to connecting consumers and businesses to reduce food waste on a larger scale.

What We Built

LastBite now brings together two experiences:

  • For households: Scan products, track expiry dates, manage food inventory and receive timely reminders.
  • For businesses: Manage inventory, identify potential surplus, list products at discounted prices and reach customers through the marketplace.

How We Built It

We used Python and Flask for the backend, SQLite for data storage, Gemini API for AI-powered features and PayPal Sandbox for payment integration. We brought these technologies together to create a platform combining food tracking, intelligent suggestions and surplus listings.

Challenges and What We Learned

One of our biggest challenges was making product scanning reliable, especially when extracting expiry dates from images. We also faced difficulties with changing AI model availability, API errors and integrating external services.

Through this project, we learned how to connect AI services with a web application, manage data, handle API failures and implement payment workflows. We also learned how to take an initial idea, rethink its scope and develop it into a solution that addresses a wider real-world problem.

What's Next For Our Project

We have a membership feature which is current not properly built we plan on incorporating that in the future. Also we plan on creating a more secure login feature where the app can remember the passwords and also have the feature of secure long passwords with conditions, right now the login is not that secure. We also want to use a stronger AI that will make the scanning and extracting data easier and faster.

Built With

Share this project:

Updates

Submission history