Totum
Totum is a health and fitness platform combining workout tracking, nutrition logging, social features, video calling, and a coach marketplace. The app syncs biometric data from wearables including Apple Watch, Garmin, Oura, Whoop, and Fitbit. As co-lead of the mobile team, I co-architected the app using Expo Router, Zustand for client state, and TanStack Query for server state.
Technical Deep Dive
Biometric Data Aggregation
Engineered a unified health data layer via Spike SDK aggregating Apple HealthKit, Google Health Connect, and six wearable brands — synchronizing steps, heart rate, sleep, and calorie metrics in the background while minimizing battery drain.
Dual-State Architecture
Architected a hybrid state management system leveraging Zustand with Immer for ephemeral client state and TanStack Query across 44 query keys for server state — eliminating stale UI and reducing redundant network calls through intelligent cache invalidation.
Real-Time Communication
Orchestrated 1:1 and group messaging with Stream Chat SDK and WebRTC video calling via Stream Video SDK — integrating VOIP push notifications, native CallKit call screens, and background call handling for uninterrupted coaching sessions.
Payment & Commerce Engine
Engineered a full marketplace with Stripe Payment Sheet integration supporting Apple Pay and Google Pay — handling subscription lifecycle, invoice reconciliation, and transaction history with idempotent payment flows.
CI/CD Pipeline
Configured EAS Build profiles across three environment-specific app variants and automated store submissions via EAS Submit — reducing deployment friction by 99% and enabling zero-touch OTA updates tied to app version.