SpotMe
AI-Powered Fitness & Workout Tracker
Category
Full stack
Technologies
next js
node js
Cloudflare R2
React Native (Expo)
Express
LangChain
PostgreSQL
AWS S3Year
2026
Live Site

Introduction
SpotMe is a production-grade, AI-first fitness companion app I built entirely from scratch — from the React Native mobile app and Expo OTA update system, to the Node.js/Express backend with a LangGraph-powered AI agent, to the Next.js admin panel with live monitoring, workout analytics, and nutrition dashboards. The app targets serious gym-goers who want more than just a workout logger: it features an intelligent AI coach that knows your entire fitness history, plans personalized workout splits via AI generation, analyzes your meal photos using computer vision, evaluates your physique from photos using vision AI, tracks XP and league standings on a global leaderboard, and even lets you talk to the coach in natural language to modify your plans. Under the hood, the AI agent uses a LangGraph orchestration pipeline with pgvector-powered RAG (retrieval-augmented generation), a multi-provider model cascade (Gemini, Groq, OpenRouter), and an audit-logged tool-calling loop. The result is a platform that feels like having a personal trainer, nutritionist, and data analyst in your pocket.
Execution & Role
What did I do?
I am the sole developer on this project — I designed and built every layer: - Mobile App (React Native / Expo): Built 10+ tab screens and 15+ full-screen flows including workout logger, exercise browser, AI coach chat, physique analyzer, meal tracker, leaderboard, calendar, analytics, weight tracking, and profile. Used NativeWind (TailwindCSS for RN), Expo Router for file-based navigation, and Expo EAS for Android build pipeline and OTA updates. - Backend (Node.js + Express): Designed and built 20+ feature modules covering auth, workouts (splits/sessions/exercises/sets), daily workout logging, meals (AI camera analysis), physique AI analysis, leaderboard/XP, notifications (Expo push), weight, water, profile, onboarding, admin, monitoring/telemetry, and a full AI feature module. - AI Agent System: Built a LangGraph-based orchestrator with 8 task types (coach chat, workout generation, workout refinement, meal analysis, physique analysis, workout report, diet plan generation, workout coach chat). Implemented pgvector RAG with HNSW cosine indexing (768-dim Gemini embeddings), memory summarization windows, multi-provider model cascade with automatic fallback, and a tool-calling loop with confirm-gate for destructive actions. - Database: Designed 30+ PostgreSQL tables with incremental migration scripts. Enabled pgvector extension for semantic search. Built self-healing DDL for AI tables. - Admin Panel (Next.js): Built a full-featured admin dashboard with live monitoring (request telemetry, latency, status codes, event loop lag), workout analytics (muscle heatmap, volume, frequency, progression), nutrition analytics (macros, hydration, circadian meal timing, micronutrients), user 360 view, exercise/split/entity CRUD, AI config management (providers, tasks, usage), push notification broadcasting, physique moderation, app build management (APK upload/presigned S3), site images, and a public landing page. - Infrastructure: AWS S3 for media storage (exercise GIFs, images, physique photos), Expo Server SDK for push notifications, Nodemailer for email, EAS CI/CD for Android builds.
Project Highlights
Features & Solutions
1. AI COACH — "COACH SPOTTY" (LangGraph + RAG) - LangGraph-orchestrated agent with 8 specialized task types - pgvector RAG: 768-dim Gemini embeddings with HNSW cosine index for semantic retrieval - Multi-provider model cascade: Gemini -> Groq -> OpenRouter (automatic fallback on failure) - Full conversation history with sliding window memory + summarization - Tool-calling loop with confirm-gate for destructive actions (delete split, remove exercise, etc.) - Audit log for every tool call (session, user, tool name, args, status, summary) - Context snapshot: pulls user profile, last 5 workouts, 7-day meals, weight log, splits, water intake, and pending reports — all injected at query time - SSE streaming support for real-time token streaming to the app 2. WORKOUT SPLIT BUILDER - Create/edit/delete custom workout splits (e.g., Push/Pull/Legs) - Add sessions (workout days) per split with custom ordering - Add, remove, reorder exercises within sessions - Duplicate sessions, move exercises between sessions - AI Split Generation: describe your goal -> AI builds a full split with exercises, sets, reps - AI Split Refinement: chat with AI to adjust your existing plan - Clone shared/public splits from the library into your own account - Rate splits with star ratings - Share splits with community toggle 3. LIVE WORKOUT LOGGING (Daily Tracker) - Start a workout from any split/session - Log sets in real time: reps, weight, notes - Skip, complete, or rate individual exercises - Upload workout photos (up to 10) mid-workout - Finish workout: auto-calculates total volume, duration, calories burned - Log post-workout weight and water intake at completion - Rate the overall workout - Recalculate workout metrics endpoint - Rest day logging - Dashboard with daily recommendations 4. AI WORKOUT REPORT - After completing a workout, generate an AI-written performance report - Coach Spotty analyzes: total volume, PRs, effort vs. baseline, weak points, recommendations - View all past reports in a report history feed - Chat with Coach Spotty about any specific workout report 5. AI MEAL ANALYSIS (Camera) - Take/upload a photo of any meal - AI vision model identifies food items, estimates portions, extracts macros (calories, protein, carbs, fat) - Save the analyzed meal to your daily food log - Edit and update saved meals - AI meal recommendation system (get a personalized meal plan suggestion) - Save and update recommended meals - Food database search and browse for manual logging - Food alternatives suggestions 6. AI PHYSIQUE ANALYSIS - Upload a front/back/side physique photo - AI vision model analyzes body composition: muscle symmetry, definition, estimated body fat, strengths, areas to improve - Full history of past analyses with soft-delete - Admin can moderate, approve, or remove physique entries 7. XP LEADERBOARD & GAMIFICATION - Global leaderboard with tier-based league system (Bronze -> Platinum etc.) - XP earned for completed workouts, streaks, and achievements - View your rank, nearby users, and top 10 podium - XP transaction log (history of points earned/awarded) - Search users by name in the leaderboard - Streak tracking: current streak shown on profile and injected into AI context - Leaderboard cache invalidation for real-time accuracy 8. ANALYTICS SCREENS (In-App) - Personal workout analytics: frequency, volume, exercise progression, muscle breakdown - Calendar heatmap: workout days highlighted by month - Muscle detail view: drill into any muscle group's training history - Weight progression chart: log and visualize body weight over time - Nutrition analytics: caloric balance, macronutrient trends, hydration, meal timing 9. ADMIN PANEL — LIVE MONITORING - Real-time request telemetry middleware capturing every API call - Rolling 60-second buckets (1/sec) + 24-hour history (5-min intervals, 288 buckets) - Metrics: RPS, P50/P95/P99 latency, status code distribution (2xx/3xx/4xx/5xx) - Slowest routes table, request waterfall, latency spectrum chart - Event loop lag tracker (Node.js health) - Peak pulse records: peak RPS, peak latency, all-time totals - Client platform breakdown: mobile vs. web vs. API - Error log stream and outage watchdog 10. ADMIN PANEL — WORKOUT & NUTRITION ANALYTICS - Workout analytics dashboard: KPI ribbon (total sessions, volume, avg duration, calories) - Frequency & adherence chart, duration pacing, volume insights - Muscle heatmap: SVG body highlighter showing most-trained muscle groups - Sets & reps scheme analysis, bio-energy wellness card - Athlete exercise progression: track any user's strength over time - Nutrition analytics: caloric balance card, macronutrient progression - Circadian meal timing heatmap (what time users eat) - Hydration/water tracking card, micronutrient health card - Recent meals square grid 11. ADMIN PANEL — EXERCISE & CONTENT MANAGEMENT - Full CRUD for exercises: name, category, body part, equipment, muscle group, secondary muscles, target, image (with S3 upload), GIF (with S3 upload), instructions (EN + TR), step-by-step instruction arrays - CRUD for categories, body parts, equipment, targets, muscle groups, secondary muscles — all with image upload - Workout Splits CRUD: admin can create and publish shared template splits for users to clone - Workout split session and exercise management from admin 12. ADMIN PANEL — USER MANAGEMENT & 360 VIEW - User list with search, filters, pagination - User detail: profile, onboarding data, stats - User 360: full profile + all workouts, meals, splits, XP log, physique analyses in one view - Edit and delete users - Active users analytics - Onboarding analytics: completion funnel, drop-off steps - Habits analytics dashboard 13. ADMIN PANEL — AI CONFIG SYSTEM (Phase 4) - Manage AI providers: add/update API keys, model IDs, enable/disable - Per-task AI model assignment: each of the 8 task types (coach chat, workout generation, etc.) can be pointed at a different provider/model - AI usage analytics: tokens used, cost estimates, error rates, provider breakdown - View AI chat sessions for any user with full message history - AI analytics dashboard: session counts, message volume, tool call stats, popular intents 14. ADMIN PANEL — NOTIFICATIONS, BUILDS & REMOTE CONFIG - Broadcast push notifications to all users or segments via Expo Server SDK - View notification campaign history - App build management: upload Android APK to S3 with presigned URL, track build versions, notes, and status - Download route for APK distribution - Remote config: manage feature flags and app configuration without a new build - File replacer tool: swap out app asset files (for admin-managed content updates) 15. ONBOARDING FLOW - Multi-step guided onboarding: personal info, fitness goal, experience level, activity level, gender selection - Onboarding photo capture: profile pic, front/back/side physique photos - Meals-per-day preference, privacy settings, split sharing toggle - Completed steps tracked per user (JSONB) for resumable onboarding - Onboarding analytics in admin (completion funnel) 16. PUSH NOTIFICATIONS & OTA UPDATES - Expo push token registration/removal per device - Per-user notification inbox: read/unread state, mark all/single as read - Admin broadcast to all users - Expo EAS OTA (Over-The-Air) updates: preview and production branches - Silent update manager: checks for updates in background and applies silently - EAS CI/CD for Android APK build pipeline 17. PROFILE & SETTINGS - Full profile with avatar, username, bio, age, gender, height, weight, body measurements (neck, waist, chest, arm, thigh), body fat % - Fitness goal and experience level settings - Privacy toggle (public/private profile) - Unit system context (metric/imperial) - Theme context (light/dark) - Secure token storage (expo-secure-store) 18. EXERCISES BROWSER - Search exercises by name, category, body part, equipment, target muscle - Browse by category with pagination - View exercise detail with GIF animation, instructions, muscle groups highlighted on body diagram - Exercise mention system: @mention exercises in chat with the AI coach
CALL ME NOW
I'm looking for a challenging new position that will help me squeeze out the best of my creative juices!
If you like the sound of a web designer, developer and graphic designer rolled into one whacky human, then I'm your man. Don't hesitate to contact me - I'm eager to hear from you.













