Skip to content
Mobile App / AI / Health

FitSync – AI-Powered Fitness & Nutrition Tracker

FitSync is a feature-rich cross-platform mobile application built with React Native (Expo) and serverless Firebase (Auth + Firestore + Storage). It combines real-time GPS workout tracking, multi-source food intelligence, OpenAI GPT-3.5 conversational nutrition coaching, and multi-formula body metric calculations into a 5-tab interface.

Engagement
Product build
My Role
Mobile developer
Platform
iOS & Android
Market
Health & fitness
Technologies Used
  • React Native
  • Expo
  • Firebase
  • OpenAI
FitSync mobile app screens for workouts and nutrition tracking
Key Project Metrics & Achievements
7Isolated state domains in custom Reducer+Context factory
30+Integrated mobile application screens
3Multi-source nutrition & recipe APIs integrated

The Challenge

Health and fitness apps traditionally silo tracking, nutrition planning, and coaching into separate tools — forcing users to manually sync calorie logs, exercise records, and meal plans. This fragmented experience leads to poor adherence, inaccurate data, and no real-time dietary intelligence. The challenge was building a unified mobile platform across 30+ screens without Redux boilerplate bloat.

The Solution

We engineered FitSync using React Native (Expo) on the frontend and Firebase as a serverless backend. We created a custom reactive state factory pattern (`createDataContext`) managing 7 isolated domains (auth, user data, diet logs, GPS tracking, location, history, AI tokens). Firestore uses a nested subcollection model ensuring per-user data isolation and zero sync lag.

ENGINEERING EXCELLENCE

Key Features Delivered

Engineered from scratch with clean code, scalable architecture, and strict attention to performance.

Custom Reducer+Context State Factory

Built a `createDataContext` factory pattern generating Context + Provider pairs with bound dispatch actions across 7 state domains without Redux boilerplate.

Multi-API Food Intelligence Pipeline

Integrated Edamam Recipes, Edamam Food DB, and Nutritionix APIs with dual-mode search (common vs branded) normalizing schemas into unified macro breakdowns.

Real-Time GPS Workout Tracking

Built location-aware tracking via expo-location with Haversine distance formula, calorie burn computation, and coordinate polyline persistence for track replay.

AI Nutritionist Chatbot

Integrated OpenAI GPT-3.5-turbo with react-native-gifted-chat for conversational nutrition coaching gated behind an onboarding token system.

Multi-Formula Body Metrics Engine

Implemented 4 clinical formulas (Mifflin-St Jeor, Harris-Benedict, Hamwi, Devine) for BMR, BMI, ideal weight, and personalized macro splits.

Nested Firestore Subcollection Model

Organized Firestore documents into nested subcollections ensuring user data privacy, instant real-time sync listeners, and cost-efficient reads.

MEASURABLE OUTCOMES

The Business Impact

FitSync eliminated app-switching friction by consolidating workout recording, food logging, AI coaching, and body metrics into a single 5-tab mobile interface.

  • Eliminated app-switching friction by consolidating GPS tracking, nutrition logging, and AI coaching
  • Optimized mobile performance across 30+ screens using a lightweight Reducer+Context state factory
  • Guaranteed zero data sync lag via Firestore real-time listeners and unified diet log state
  • Accelerated user onboarding by calculating personalized calorie targets before reaching the dashboard
FitSync – AI-Powered Fitness & Nutrition Tracker — results screen
LET'S WORK TOGETHER

Have a project in mind?
I'd love to hear about it.

Let's Talk
Quick Message⚡ 24h Response