leenflow
All work

Diabetes Coach

A care-team platform where consent decides who sees what

A pediatric diabetes platform on mobile and web that connects children, parents, doctors and school nurses. Built with a pediatric diabetes specialist.

Our role
Design · Architecture · Full-stack
Stack
Next.js, Node.js, TypeScript, PostgreSQL, Prisma, Redis, BullMQ, Expo, React Native
Diabetes Coach web landing page

01 — THE PROBLEM

A child's diabetes data lives in meters, notebooks, school offices and clinic systems that never talk to each other. Care is a team effort between parents, school nurses and doctors, but each of them uses separate tools that share nothing. Everyone works from part of the picture, and long-term control is hard to see.

02 — THE BUILD

What we built

A pediatric diabetes platform with a mobile app, a clinician portal and an admin portal, all built around one shared record that the patient controls through consent.

  1. Consent-based care team

    Each patient invites their own doctor, nurse or guardian. Access depends on the role and can be taken back.

  2. Dexcom CGM integration

    Continuous glucose readings sync in automatically.

  3. Eleven trackers and analytics

    Glucose, insulin, food, HbA1c, water, sleep, weight, height, period, illness and medication, with time-in-range and trend cards.

  4. Bolus calculator

    Dose guidance from the child's own ratios and targets.

  5. Clinician and admin portals

    Patient lists, reviews and a content CMS for the care team.

  6. English and Arabic

    Both languages, left-to-right and right-to-left, across mobile and web.

03 — SCREENS

Inside Diabetes Coach

04 — ENGINEERING

How we built it

Three apps serve one consent-based data model: a Node and Express API, an Expo mobile app and a Next.js web app.

  • The access model is the product

    Every link between a patient and a caregiver is explicit, depends on the role and can be taken back.

  • Three apps, one API

    The same Express API serves the mobile app, the clinician portal and the admin portal.

  • Jobs and notifications

    Redis and BullMQ run sync and reminder jobs, and Firebase handles push notifications.

The hard part

Consent and access across a care team. Permissions, roles and data sharing had to be right between patients, guardians, doctors and nurses, with children in the middle.

05 — WHAT WE SHIPPED

What we delivered

  • Three apps built end to end: the care API, the mobile app and the clinician and admin web app
  • Care-team sharing based on consent, with access by role that can be taken back
  • Eleven health trackers, a bolus calculator and clinical analytics
  • Dexcom CGM integration and screens that work in both left-to-right and right-to-left languages

Tell us what is slowing your business down

Book a strategy call