
GymPilot
B2B SaaS gym management — 7+ paying gyms, 540+ members under management.
# Description
GymPilot is a B2B SaaS gym management platform built from zero to revenue. Owned end-to-end — 7+ paying gym owners, 540+ members under management, 500+ commits over 5 months of rapid iteration on real customer feedback. I ship fast, debug in production, and build for people who aren't developers.
# Tech Stack
- Next.js + TypeScript for the full-stack application
- Supabase (PostgreSQL) with Row Level Security for multi-tenant data isolation
- WhatsApp Business API (Meta Cloud API) — 20+ error codes handled, webhook deduplication, per-gym credential isolation
- Razorpay for payment processing
- Biometric hardware integration — reverse-engineered two vendor protocols on-site
- Stateless JWT auth for staff onboarding with instant access propagation
- Super-admin impersonation for customer support workflows
# Problem
Existing gym management tools are built for large chains — bloated with features small Indian gyms don't need, priced accordingly, and built around SMS which nobody actually uses. Gym owners needed something that matched how they already communicate: WhatsApp.
# Solution
Stripped feature bloat and built WhatsApp-first. Integrated biometric attendance hardware across two vendors with zero official documentation — reverse-engineered device protocols on-site and built a command queue that automatically revokes hardware access when a membership expires. Caught a session caching failure during a live client demo, diagnosed on the spot and redesigned staff onboarding from token-based invites to stateless JWT so access changes propagate instantly. Built a WhatsApp notification engine (Meta Cloud API) handling 20+ error codes, duplicate webhook detection, and per-gym credential isolation — automated welcome messages, payment receipts, and expiry reminders. Multi-tenant architecture with gym_id-scoped tables and Supabase RLS, with super-admin impersonation for customer support.
# Results
7+ paying gym owners, 540+ members under management, 500+ commits over 5 months. Zero churn from paying customers. Evolving toward full RBAC for multi-owner chains now onboarding.