ALGOBAIN
A person checking an activity reading on a smartwatch
[Photo placeholder] Activity sync, wearable

Case study 03 · Digital health · 8 months

A diet plan for one person at a time, 94% accurate.

BetterHealth helps people reach wellness goals through personalised diet plans and fitness tracking. Algobain built the recommendation engine, the cross-platform app and the cloud backend beneath both.

$180K
Operational cost saved per year.
94%
Recommendation accuracy.
78%
User retention.
01
The situation

One-size-fits-all plans did not fit anyone.

BetterHealth set out to combine nutritional science with software that adapts to each user. What stood in the way:

  1. iUsers struggled to find diet plans that fit their lifestyle and health goals.
  2. iiNutrition tracking and fitness activity lived in separate places.
  3. iiiGeneric plans made it hard to stay consistent.
  4. ivThere was no real-time feedback on nutritional intake or exercise progress.
02
What we built

A model at the centre, not bolted on.

i

AI personalisation engine

A machine-learning model that generates a diet and fitness plan for each user.

  • A user profiling system capturing health metrics, preferences and goals.
  • A recommendation algorithm analysing 50+ parameters, including BMI, activity level and dietary restrictions.
  • Dynamic meal planning across 1,000+ recipes with nutritional data.
  • Real-time adjustment based on each user's progress and feedback.
ii

Cross-platform mobile app

One codebase for iOS and Android, built for daily use.

  • Built in React Native.
  • Offline-first, so tracking never stops for a lost connection.
  • Automatic activity sync with HealthKit on iOS and Google Fit on Android.
  • An interface designed around daily engagement and habit formation.
iii

Backend infrastructure

A cloud backend that processes user data as it arrives.

  • REST APIs in Node.js and Express.
  • MongoDB for flexible storage and fast queries.
  • AWS infrastructure with auto-scaling.
  • Real-time notifications for reminders and achievements.
  • Secure authentication with JWT and OAuth.

03 · Architecture

Every meal logged makes the next plan better.

The profile, the wearable and the user's own feedback feed one model. The plan it generates goes to the phone, and what the user does with it comes straight back.

BetterHealth, reference architecture
User profile50+ parameters HealthKit, Google FitActivity sync Progress, feedbackLogged daily APINode.js, Express Profiles, mealsMongoDB PersonalisationML model Plan generator1,000+ recipes Mobile appOffline-first NotificationsReminders AWS, auto-scaling What the user logs returns to the model Fig. 1

Fig. 1 Reference architecture as built. Component names are generic.

The user's view

The plan is the product. It changes when the watch syncs or a meal is logged, and tells the user why.

04
The result

The numbers the platform is held to.

MeasureResultBasis
Operational cost saved$180K/yr[Cost baseline]
User retention78%[Cohort and period]
Recommendation accuracy94%[Evaluation method]
App rating4.7/5[Store and date]

Figures from the engagement record. Where the basis of a figure is not yet documented, it is shown as a placeholder rather than invented.

05
Technology

What it runs on.

Mobile
React NativeHealthKitGoogle Fit
Services
Node.jsExpressJWT, OAuth
Data
MongoDB
Model
ML recommendation engine
Cloud
AWSAuto-scaling
A prepared meal bowl with vegetables, eggs and avocado on a wooden table
[Photo placeholder] Meal planning, recipe library
An empty meeting room with a long table and floor-to-ceiling windows in daylight
[Photo placeholder] Briefing room

A product that should be built around a model?

Tell us what you are trying to run in production. A senior engineer replies within 48 hours.

  1. 1
    Within 48 hoursA senior engineer replies, not a sales desk.
  2. 2
    NDA, then a working sessionWe sign first, then look at the system together.
  3. 3
    Two-week fixed-fee assessmentWritten roadmap, ROI and build-versus-buy. No lock-in.