Skip to content
Gab
All work

Case study

FreshlyFRESHVII

Developed during a hackathon, Freshly keeps a live inventory of a household's fridge, freezer, and pantry, estimates how fresh each item is, and turns what needs eating first into rescue plans and recipe ideas.

Category
AI Integration / Sustainability / PWA
Team
Team project · Team lead
Context
Seventh Stack AppCon hackathon project
Year
2026
Freshly home screen showing a kitchen summary bar, food search, and Fridge, Freezer, and Pantry tabs.
Screenshot

No competition ranking or production usage metrics are claimed.

Part 1

ContextThe problem and where I fit in.

01Problem

Households buy food they don't finish. Items get pushed to the back of the fridge, opened food is forgotten, and nobody remembers what is in the pantry.

It is a visibility and timing problem: people don't know what they have, what is about to expire, or what they could cook with it.

02My role

  • Led the hackathon team and was involved in full-stack development of the app.

Team: Team project · Team lead

Part 2

BuildWhat was made, and why it was made that way.

03Solution

See it: food is shown on virtual fridge, freezer, and pantry shelves. Time it: every item gets an estimated expiry and freshness state, so the most urgent food rises to the top.

Use it: a Rescue view and recipe suggestions are built from what's already at home. Measure it: consumption and discards are logged so Insights shows what is actually used and wasted.

04Features

  • Fridge, freezer, and pantry

    Implemented

    Illustrated shelves with named positions; each item links to its detail page.

  • Food inventory management

    Implemented

    Open, freeze, move, consume a quantity, or discard. Every change is logged as an activity event.

  • AI-assisted food scanning

    Implemented

    Photograph one or several items; Gemini returns typed JSON that pre-fills the form or a review list.

  • Freshness estimates

    Implemented

    Deterministic shelf-life rules by category, storage, and opened state—clearly labelled as estimates.

  • Rescue suggestions

    Implemented

    Food to use today or soon, plus an on-demand AI rescue plan with practical steps.

  • Food waste insights

    Implemented

    Wasted vs. saved, most-wasted categories, weekly recap, and a pre-grocery checklist.

  • Recipe recommendations

    Implemented

    Recipes ranked by how much urgent food they use, with a step-through cooking flow that updates stock.

05Architecture

  1. Pages & layouts

    Mobile-first UI, installable as a PWA

    • React 19
    • TypeScript
    • Vite
    • Tailwind CSS
    • Radix UI
  2. State

    Context providers with real-time listeners

    • React Context
  3. Domain logic

    Pure functions for freshness, rescue matching, lifecycle, and impact

    • TypeScript
  4. Data & auth

    Per-user items and an append-only activity log

    • Firebase Auth
    • Cloud Firestore
  5. AI functions

    Server-side calls for photo scanning and rescue plans

    • Vercel Functions
    • Gemini API

The Gemini key stays in a server-side function; the browser never sees it.

06Engineering decisions

  1. Freshness is rules, not AI

    Expiry estimates come from simple shelf-life tables (category × closed/opened/frozen). The model is explicitly told not to estimate exact expiry dates.

  2. Typed AI output with guardrails

    Scans use a JSON schema, low-confidence guesses are dropped or flagged, and the rescue endpoint discards any “used item” that wasn't in the request—so the AI can't invent ingredients.

  3. Small, fast uploads

    Photos are resized to 1024px and re-encoded in the browser before upload, keeping scans quick without losing the detail needed to separate multiple items.

  4. Append-only activity log

    Insights are computed from immutable events, and security rules prevent users from editing or deleting history.

Part 3

ResultsWhat came of it, honestly.

07Outcomes & limits

Outcomes

  • A deployed, working PWA with sign-up, inventory, AI scanning, rescue plans, recipes, and insights.

Limitations

  • Expiry dates are estimates. Quantities aren't converted to a common weight, and no environmental impact (e.g. CO₂) is estimated.
  • AI suggestions can be wrong; the app reminds users of this on the Rescue page.
  • Challenge #2 · Know your bill

    “Why is my bill like this?”

    Meet Eelio.

    Eelio's mascot, a friendly blue eel in an orange cap and vest.
    From pitch deck

    UI/UX / Product Design / EnergyTech

    Eelio

    Team LarpItOut · University of Caloocan City · 2026

    A mobile-first concept that explains why a household's electricity bill changed—to the peso—and helps it use less next month.

    • UI/UX design
    • Product planning
    • Mobile-first PWA
    • +1 more
    Case study