Gerben Put Nederlands

← Back to the overview

Eten

A weekly menu for two that does its own maths

A private app for our household: a four-week menu that repeats every month, with breakfast, lunch, dinner and an evening snack. You eat the same dish, but the app works out each person's portion by calories and protein. Plus a weekly shopping list with the supermarket's offers, and weight tracking with an expected goal date. The screens below show sample data.

  • Node.js
  • PostgreSQL
  • PWA
  • Playwright
  • Docker
Eten: private, sample data
Scroll: this is the real site

The story

  1. 01

    The idea

    Eating healthier works better with a fixed plan you don't have to rethink every week. We don't like everything and each have a different goal, so the menu accounts for what we don't eat and for who needs what.

  2. 02

    The design

    A chalkboard in the kitchen: handwritten headings, menu boards in a wooden frame with dotted leaders to the amounts, kraft paper tags for calories and protein, and small chalk drawings.

  3. 03

    Under the hood

    All the maths (portions, shopping, trend) lives in one module shared by the browser, the server and the tests. A Node server without a framework keeps weigh-ins, swaps and ticks in PostgreSQL, and reads the supermarket's public offers page every day with a headless browser.

In detail

Portions to measure
Every recipe is scaled per person to the calorie and protein target of that meal.
Swap
Not in the mood for a dish? Swap it for another, with that week's offers at the top.
Shopping
Added up for two per week, by aisle, with packs and a cost estimate. Leftovers carry over.
Tick off together
The list is shared: what one of you puts in the trolley, the other sees right away.
Weight and advice
A three-week trend, an expected goal date and advice to adjust calories, never faster than 1% a week.
Offline
Installed on the home screen, the menu and list also work in a shop without signal.
Next project Workflow From AI-generated code to software you can maintain