thomasnewmancomputer engineer
  • work
  • writing
  • about
  • contact
All projects

Thomas Newman / Computer Engineer

Explore projects ↗GitHub ↗Get in touch ↗

Pantry App

Project 02Full-stack / SaaS

A live subscription web app for tracking pantry stock and expiry dates, with scheduled email alerts and Stripe billing.

Next.jsSupabasePostgreSQLStripeCron jobs
Pantry App
Software1 min read
View live project

Role: Solo. I designed, built, deployed, and run it. It's live with paying subscribers.

Why I built it#

Food in my kitchen kept expiring before I remembered it was there. I wanted something faster than a spreadsheet that would tell me what's running low or about to expire without me having to check.

What it does#

  • Track items, quantities, and expiry dates per pantry
  • Email alerts when stock drops below a threshold or an item is close to expiring
  • Free and paid tiers, with subscriptions handled by Stripe

How it's built#

Source codetext
Next.js UI -> Supabase (Postgres + Auth) -> Scheduled jobs -> Email alerts
  • Data isolation: Supabase Row-Level Security policies scope every row to its owner, so access control lives in the database and not only in the client.
  • Alerts: scheduled jobs scan for low-stock and soon-to-expire items and send digest emails.
  • Billing: Stripe Checkout and webhooks keep each user's subscription status in sync with their account.
  • Notifications: Resend for the email notifications and they can be set to a weekly or daily update.

Challenges#

  • Keeping Stripe webhook state and database state consistent
  • Writing RLS policies that are secure without making queries slow or awkward

One of the hardest parts about this project for me was the implementation of the payment processing systems. It took a lot of research and video tutorials to learn how to implement these systems like the Stripe API keys, test keys, routing, etc.

What's next#

I’m currently working on adding barcode scanning, shared households/families, and shopping lists that are automatically generated from low stock items.

On this page

  1. Why I built it
  2. What it does
  3. How it's built
  4. Challenges
  5. What's next

Last edited on October 27, 2026 at 12:17 AM EDT

← Previous projectEECS 3201 - Digital Logic DesignNext project →Arduino Radar