Projects / breaking-bread · Mar 2023 · Technical lead / auth & backend (hackathon team)

★ Best UI/UX - YRHacks

Breaking Bread

A bill-splitting app for shared meals: log who paid, who owes what, and mark it settled. Won Best UI/UX at YRHacks.

What it is: A mobile application that helps people "break bread": share meals and split the bill without the spreadsheet afterwards. What it does: the person who paid creates a bill, picks who it's split with, and everyone sees the restaurant, their share, and the due date until it's marked settled.

Built overnight at YRHacks (a 24-hour online hackathon, March 2023) with the same friend group as CarpTo. My friends pitched; I answered the technical questions under judging pressure. The project took Best UI/UX.

Auth, done the right way for a hackathon

Previous team projects used email sign-in; here I chose Google Sign-In, easier for users and far less code to get wrong at 3 a.m. Failed logins surface inline error text; successful sessions persist across app restarts, and sign-out fully clears the user from shared preferences.

Data model

  • Users keyed by unique email, holding name, profile picture, and references to their bills.
  • Bills holding restaurant, cost, due date, and the split-with user references.
  • One design question came up live in judging: does completing a bill delete it for everyone? Answer: only the current user's reference is destroyed; the bill keeps the other users so their profile pictures stay visible. Deleting data carefully was a lesson I've kept.

Size, for scale

Roughly 830 lines of Dart across 13 files: service classes isolating Google Sign-In and Firestore from the screens, plus custom-built welcome/login component screens rather than stock widgets.

← all projectsQuestions? Email me