Khoa Nguyen

All rights reserved © yunkhngn · v1.6.6

Work

Dinner AI

An intelligent culinary web application powered by Google Gemini AI that automatically generates tailored dinner menus, recipes, and consolidated shopping lists.

Dinner AI

Role

Solo — design & engineering

Year

2026

Stack

TypeScriptNext.jsReactTailwind CSSGoogle GenAI SDKZodFramer MotionVitest
Source Live demo

Case study

Context

Dinner AI addresses the daily question of what to cook by leveraging modern generative AI. Designed for individuals and families looking to streamline meal planning, the application turns constraints like available ingredients, dietary preferences, and cooking time into complete, structured dinner menus.

Architecture & Key Features

Built using the Next.js App Router, the application features an API route interfacing with the Google GenAI SDK (@google/genai) to generate comprehensive meal plans. Key capabilities include:

  • AI-Optimized Menu Generation: Balances courses based on party size, budget, and global cuisines.

  • Flexible Customization: Supports pantry-driven ingredient matching, dietary restrictions, and exclusion lists.

  • Consolidated Shopping Lists: Automatically separates items into 'Need to Buy' and 'Already Available at Home'.

  • Export & History: Integrates client-side PNG export via html-to-image alongside local storage history management.

Technical Highlights

  • Strict Type Validation: Employs zod and Zod JSON schema definitions to guarantee strict structure contracts with the Gemini AI model.

  • Client-Side Testing: Comprehensive test suites implemented using vitest, jsdom, and React Testing Library.

  • UI Motion: Utilizes framer-motion for fluid interface transitions and component animations.

Outcome

A fully responsive, production-ready culinary assistant that showcases robust API integration, precise schema validation, and clean modern React architecture.

Keep exploring

Related work

2026

Pulling A Girl

An interactive web application built with Next.js and the Google GenAI SDK designed to parse and generate responses for text messages.

2025

Tarot Reader

A modern web application for Tarot card readings built with Next.js. It offers AI-powered interpretations, interactive spreads, a complete Tarot library, daily quotes, and more.

From the journal

2026-11-15

AI Kitchen

Explore the building process of 'AI Kitchen' - a space where I turn raw ideas into complete products by optimizing my AI workflow.

2026-11-15

Beautiful on the Surface, Engineered Underneath - My Legacy Website

Building a Personal Website into a Microservice Platform. An engineering retrospective on building a design-driven personal website backed by a microservice architecture, computer vision experiments, automated Docker builds, and production infrastructure."

2026-11-16

Engineering Lawise: Building an AI-Powered LegalTech Platform

From legal documents to actionable intelligence — exploring the engineering behind an AI-powered legal platform built with Next.js, polyglot microservices, PostgreSQL, pgvector, and OpenAI.

Next project

IG Tracker →