Skip to content
HomeCase StudiesFitLife
Health & fitness — diabetes-awareFitLife

FitLife: a diabetes-aware AI fitness platform with personalised meal and workout plans

A bespoke Next.js fitness application engineered around diabetes management. Anthropic Claude generates personalised meal and workout plans in seconds; glucose and insulin tracking, consultation-notes parsing, and a member community surround the core engine.

FitLife — Health & fitness — diabetes-aware
<10 sec
meal plan generation per user
<5 sec
workout plan generation
NHS-integrated
meal plans adjust to lab results — eGFR, HbA1c, cholesterol
Dexcom + NFC
real-time CGM data + insulin-pen NFC reads
Built with:Next.js (App Router)TypeScriptTailwind CSSAnthropic Claude APIOpenAI GPT-4 VisionSupabaseDexcom EU APINHS OAuthNetlify

The bottleneck

Off-the-shelf fitness apps are generic by design. Same workout schedule, same meal plan, lightly tailored to weight and goal. For the average user that\'s mildly unhelpful; for someone managing type 1 or type 2 diabetes it can be actively unsafe.

Glucose response to specific foods is individual. Workout intensity needs to factor insulin timing. Meal plans need accurate carb counts. None of those constraints fit a generic recommender that averages every user down to "moderate intensity, balanced macros".

What I built

A bespoke Next.js platform built around the personalisation engine:

  • Onboarding capture. Profile, dietary preferences, medications, fitness baseline, and parsed consultation notes from existing professional sessions.
  • AI personalisation engine. Anthropic Claude takes the user\'s full context — onboarding, preferences, consultation notes, recent glucose trends — and generates meal plans with carb counts and macros plus workout plans with progressive overload calibrated to the user\'s fitness level. Latency target: meals under 10 seconds, workouts under 5.
  • Glucose + insulin tracking. First-class data primitives, not afterthoughts. Dexcom CGM integration syncs real-time glucose data; insulin-pen NFC reads capture insulin doses. Surfaces in the dashboard, feeds the personalisation engine's context window.
  • NHS lab integration. The platform connects via NHS OAuth to pull lab results — eGFR, HbA1c, cholesterol, potassium, vitamin D and more. These inform dietary constraints automatically: high potassium restricts certain foods; impaired kidney function lowers protein targets; elevated HbA1c shifts to low-GI carb distribution. The AI doesn't ignore clinical reality to serve a generic macro split.
  • Insulin dosing calculations. Food photo analysis (GPT-4 Vision) returns macro breakdown plus insulin dosing recommendations, factoring in the user's carb ratio and a 60g protein threshold for dual-wave dosing.
  • Surrounding modules. Member community, science articles, consultations, admin tooling, preferences, profile, wellbeing tracking, test-results capture.

What changed

A diabetes-aware fitness platform that respects individual physiology rather than averaging it away. The Claude integration delivers meal plans in under 10 seconds and workouts in under 5 — fast enough to be usable in the moment a user opens the app, not a daily batch they wait on.

The platform continues to extend — glucose pattern detection, insulin timing nudges, and tighter consultation-notes integration are the next load-bearing capabilities being shaped.

Questions about this build

Still have a question? Book a discovery call — direct line to me, Dean.

Want a build like this for your operation?

Every build starts with a discovery call. Map your bottlenecks. Get a costed bottleneck map — whether we build or not.

Book a Discovery Call
AIMindShift
Loading...