Inspiration

The “Freshman 15” isn’t an information problem—everyone knows a salad is healthier than a burger. It’s a behavioral friction problem caused by late-night studies, dining hall variety, and the "Manual Tracking Tax" of existing apps. We built Mindful Macros to turn invisible habits into an actionable "Health GPA."

What it does

Mindful Macros is a behavior-aware dining engine. It automates campus menu discovery and transforms meal logs into structured feedback. Instead of just counting calories, it scores:

Behavioral Timing: Penalizing late-night high-sodium spikes. Nutritional Consistency: Rewarding steady protein-to-carb ratios. The "Danger Window": Identifying your historically highest-risk times for poor choices. The result is a shareable Health Report Card that treats your body with the same rigor as your transcript.

How we built it

Frontend: React-based dashboard with custom D3-style charting for trend analysis. Data Scraper: A fleet of Dockerized Puppeteer engines that navigate university menu portals in real-time, bypassing bot protection to fetch live nutritional data. Backend: Node/Express with an SQLite engine using Complex Aggregate Queries to calculate GPAs across 14-day rolling windows. Auth: Stateless JWT-based Google OAuth for secure, frictionless student onboarding.

Challenges we ran into

Scaling Scrapers: Bypassing data-center blocks to fetch menu data required rotating user-agents and careful request jittering. Metric Science: Translating "bad habits" into a fair, non-judgmental "GPA" required building a weighted scoring algorithm that accounts for the reality of college life.

Accomplishments we're proud of

Automated frictionless logging: Students never have to "search" for a food; the app already knows what’s in the cafeteria. Architecture: Successfully deploying a browser-based scraper to an auto-scaling cloud environment (Fly.io).

What's Next

The Blue-Zone Nudge: An Geofenced API that sends a push notification the exact second you walk into a dining hall, suggesting the "Smart Swap" of the day. Nutritional Twin (Phase 2): Using Collaborative Filtering (like Netflix) to match you with a student who has your "Goal Habits," allowing you to literally mirror the choices of a campus athlete. Find each other and link on instagram; NEVER EAT ALONE AGAIN! University Chef Dashboard: Providing anonymized, aggregated student health trends to university administrators to help them optimize menu health across the entire campus.

Built With

Share this project:

Updates