SmartBasket
SmartBasket is a mobile web app that finds the best local prices for what’s on your shopping list, with in-store deals shared by other shoppers. I designed and built it on my own at Hack Canada 2025.
Hack Canada 2025
Product Design · Development
2025
Designing and building a smarter shopping list solo, from Figma screens to a working web app that compares prices at stores nearby.
- Event
- Hack Canada 2025 One weekend · February 2025
- Team
- Solo
- Deliverables
- Working web app · Figma prototype
- Platform
- Mobile web
- Tools
- Figma · Next.js · Firebase Gemini API · SerpAPI · Google Maps · OpenWeather
Overview
SmartBasket is for Canadians trying to save on groceries. I worked solo, designing the screens in Figma first and then building the app close to them. Everything worked end to end in the demo.
Impact
Worked end to end in the Hack Canada 2025 demo, designed and built solo.
Problem Statement
How might we help Canadians save on groceries without checking every store themselves?
Hack Canada 2025 had a Canada-related theme, and my slides open on two words: “canada’s issues...” The one SmartBasket takes on is the cost of shopping: finding the best deals in a time of tariffs and high costs. It’s a shopping list that helps you save money and time when you buy from local stores.
- Who: Canadians buying groceries at stores near them.
- Where: a mobile web app, in the browser.
- Constraint: one hackathon, and I was on my own for the design and the code.
Idea
More than a shopping list
On the surface, SmartBasket is a shopping list: you add what you need, and it keeps track. Underneath, two things do the work, and my slides summed them up as “AI + Crowdsourcing”. AI helps find prices online, and shoppers add the in-store deals they spot. Together they cover five features:
Five features, from my slides
- Online price comparisons
- Best store finder
- In store deals crowdsourcing
- Trip worth calculation
- Natural language shopping list
None of it looks like AI on screen. It sits behind things people already know: a list, a card and a yes-or-no question. That starts on the home screen.
Home
One home of cards
Everything in SmartBasket starts from one screen. Home is a stack of cards: Today shows products on sale near you, with + chips to add them to your list. Your SmartBasket counts what’s on your list and what’s on sale, with the price, store and distance for each deal. Points tracks your rewards points and level.
Why a stack of cards:
- One home for the whole app. Tap a card’s arrow and it opens in place, then closes back into the stack.
- What matters now comes first. The stack puts what’s most relevant on top. At a store, that’s the Contribute card (more on that below).
- It keeps the app simple.
In the Figma prototype, each card opens with Smart Animate, and an X closes it back into the stack.
List
Type it, then compare
Adding an item works like any list you’ve used: you type what you need, in plain words. Then SmartBasket does the comparing for you, and the New item sheet says so up front: pricing and the best store will appear after you add the item.
Once it’s added, the price finder looks it up, and the item shows its price at stores nearby, each with its distance.
By item or by store
The shopping list has two views, switched with two small icons next to its title. By item, it’s a checklist with a price on each item, and sale prices in green. By store, it’s a grid of stores with how far away each one is and how many of your items it has. Tap a store, and its tile grows into a view of just that store.
Worth the trip?
“Trip worth calculation” was one of the five features, and it lives on each store: how far away it is, a nudge to save with public transit, and a button for directions. Behind it are your location and Google Maps.
Crowdsourcing
Deals in one tap
Not every deal in SmartBasket comes from the web. Some come from other shoppers: when you spot a sale in a store, you can add it, so people nearby can find it too. That only works if adding a deal takes next to no effort, so contributing is one question with two buttons:
- At a store, the Contribute card rises to the top of home and asks: “See anything on sale at Walmart?”
- Yes! or Nope. Yes! has a camera on it: you snap the sale, and Gemini turns the photo into a deal the app saves.
Items ask too. On an item’s page, the same card asks: “Are these still on sale?”
Build
From Figma to a working app
There was no handoff on this one: I designed SmartBasket and built it too. My slides sum up the approach as “design first”, then “figma!”. I designed the screens in Figma before writing any code, then built a mobile web app that ran in the browser, close to those screens.
Next.js ran the app, and Firebase handled login, points and the data. Three pipelines did the rest, written in my slides like this:
Pipelines, from my slides
- price finder text => serpapi => json => gemini => cleaned json => fs localized with openweather reverse geocodingWorked in the demo
- crowdsourcing location detection => image => gemini => json => fsWorked in the demo
- travel cost location detection => gcp maps apiWorked in the demo
- Price finder: the item you typed went to SerpAPI, Gemini cleaned up what came back, and OpenWeather’s reverse geocoding kept it local. It filled in the prices on each item.
- Crowdsourcing: the app detected your location, then Gemini turned your photo into a deal. It sat behind the Yes! button.
- Travel cost: your location and Google Maps. It sat behind the distance and public transit card on each store.
Outcome
Results and lessons
By demo time, SmartBasket worked end to end: the price finder, crowdsourced deals from a photo, the trip-worth check with public transit, and login with points.
What I learned
- Design first paid off. Designing in Figma before coding made the solo build faster.
- Familiar objects. The AI hides behind a list, a card and a yes-or-no question.
- One-tap contributing. Crowdsourcing only works if adding a deal takes one tap.
Summary
SmartBasket started from a Canada-related theme and a simple goal: help Canadians save on groceries without checking every store themselves. Working solo at Hack Canada 2025, I designed it in Figma first, then built it as a mobile web app close to those screens.
Behind a familiar list and a stack of cards, it finds prices with SerpAPI and Gemini, lets shoppers add in-store deals with a photo, and shows whether a trip is worth it. Everything worked end to end in the demo.