Next.js 16 · React 19 · TypeScript · Gemini API · Firebase Auth · TanStack Query · Drizzle ORM · PostgreSQL · Tailwind
FridgeChef — recipes from what's actually in your fridge
A Next.js app that turns the ingredients you have into recipes you can cook tonight, self-hosted end to end.
View project ↗Context
Most recipe apps start from a recipe and send you shopping. FridgeChef starts from what you already have.
Problem
Ask an LLM for recipes from a list of ingredients and it assumes a full pantry, with saffron and shallots you don't own. The hard part isn't calling Gemini but keeping it to the ingredients you listed.
What I built
A Next.js 16 App Router app where the main work is the prompt and data layer around Gemini. It structures the ingredient list, makes substitutions and staples explicit instead of assumed, and checks that each recipe can be cooked with what was submitted. TanStack Query handles client requests, Firebase Auth handles accounts, and Drizzle over PostgreSQL stores fridge contents and recipe history.
It runs on my own Hetzner setup rather than a managed platform. Docker images go to GHCR and deploy through a CI/CD pipeline I wrote, so I own the image builds, secrets and deploys a PaaS usually hides.
Outcome
Live and in active development. The platform built for it now hosts my other projects too.