Paige Lui
All Projects

Health Tech · Full-Stack Development · Cloud Infrastructure

Hearten

A recipe checker for people managing high blood pressure or type 2 diabetes. Paste a recipe and it matches each ingredient to USDA food data, then checks every serving against published guidelines, a per-meal budget and dietary needs such as halal, kosher, vegan or food allergies.

PythonFastAPIPostgreSQLSQLAlchemyAWS LambdaTerraformGitHub ActionsJavaScript
Hearten project preview

The Project

Overview

People managing high blood pressure or type 2 diabetes are given daily limits for sodium and added sugars, but recipes rarely say how a serving measures up, and most nutrition apps ignore budget and dietary needs.

Hearten checks a pasted recipe against the guidelines a person chooses: NHLBI and the 2025 ACC/AHA guideline for blood pressure, the ADA Standards of Care for diabetes, and FDA Daily Values. It also estimates cost per serving and checks vegetarian, vegan, pescatarian, halal, kosher, gluten-free, dairy-free and alcohol-free needs, plus the nine major food allergens.

I drew on my background in nutrition to write the rules and the wording. Results say whether a recipe fits a person's plan rather than calling food good or bad, keep calories out of focus, and never treat missing data as zero.

The app is live, with the API on AWS Lambda defined in Terraform and deployed automatically through GitHub Actions.

Key Contributions

Project Highlights

Ingredient Matching, Measured

Matches free-text recipe lines to 12,000+ USDA foods and converts amounts to grams; 92% of held-out test lines matched the right food.

Guideline-Based Rules Engine

Compares each serving with one meal's share of cited daily limits and names the ingredients behind any flag.

Serverless Deployment

FastAPI on AWS Lambda behind a rate-limited API Gateway, defined in Terraform, with secrets in AWS Systems Manager and OIDC-based deploys.

Behind the Build

Technical Deep Dive