MacroDúo, nutrition tracking
Nutrition-tracking app with a historical record of shopping receipts, to compare prices, track monthly spending and see the impact of inflation.
Screenshots
Home: what is left of the day in kcal and macros
Adding a food to a meal
Food catalogue, with new foods added by photographing the label
Own recipes and desserts
Shared shopping list, with prices
Reviewing the grocery receipt
Price history of a food
Daily kcal and macro targets for each person
Monthly spending against previous months
Spending per product and why it rose
Problem
I was using a popular calorie-counting app, but it kept moving basic features behind its paid plan. I moved my records to a spreadsheet, but it was not very visual or accessible.
Approach
- One profile per person with their own kcal and macro targets, and a simple view of what is left or exceeded.
- Easy to use thanks to the option to duplicate meals: the weight of each food can be changed for each person’s targets, so a meal can be copied and pasted without entering it again.
- A catalogue of more than 320 foods and ready-made recipes to pick from quickly.
- Adding new foods by taking a photo of the label.
- A shared shopping list: everyone in the household adds items and ticks them off in the shop.
- Uploading the grocery receipt to record what was bought and at what price.
- Price history: how the price of each food has changed over the years, to see how much it has risen.
- Spending analysis: where the most money goes in the grocery shop, and comparisons against the previous month and the previous year.
- Password-protected access validated on the server with signed sessions; the API only answers to a valid session, and the data lives in a private repository.
- Serverless functions, one per endpoint; data lives as versioned JSON in the repository itself (every write is a commit), a pragmatic zero-cost choice for a handful of users.
- A basic threat model; next step: per-user identity instead of a shared password.
Result (qualitative)
Daily use at home, very intuitive and easy to access.
Skills demonstrated
Product design from a real need, APIs, persistence trade-offs, basic threat modelling and mitigation, and analysis of spending and price data.
Publishable material
Screenshots of the app with fictional data.
Stack
- Serverless
- API design
- JavaScript
- Security
- Vercel
- Computer vision
- Data analysis