FitPass is an AI-powered fitness class booking platform that gives users access to yoga studios, HIIT gyms, cycling centers, boxing clubs, and more β all through a single subscription. Discover classes near you, book instantly, and let AI guide your fitness journey.
Perfect for:
- Gym-hoppers who want variety
- Travelers who need workouts anywhere
- Anyone exploring new fitness routines
- π€ AI-Powered Discovery β Personalized class recommendations
- π Location-First Search β Radius-based class filtering
- ποΈ Tier-Based Access β Basic, Performance, Champion
- π 3-Day Free Trial β No commitment
- Next.js App Router + Server Actions
- Clerk authentication + subscription billing
- Sanity CMS with real-time SDK React
- Vercel AI Gateway + AI SDK 6.0 (ToolLoopAgent)
- Geographic filtering (Bounding Box + Haversine)
- Leaflet maps + Mapbox autocomplete
- Zustand state management
- TypeScript + Zod validation
Think of FitPass as your personal fitness passport.
Instead of being locked into a single gym, you gain access to a network of venues β all managed through one intelligent platform.
- Sign up and choose a plan
- Set your location and travel radius
- Browse nearby classes
- Book instantly
- Confirm attendance
| Tier | Price | Classes | Access |
|---|---|---|---|
| Basic | $29/mo | 5 | Basic classes |
| Performance | $59/mo | 12 | Basic + Performance |
| Champion | $99/mo | Unlimited | All classes |
All plans include a 3-day free trial.
- π Location-based discovery
- π€ AI fitness assistant
- πΊοΈ Interactive maps
- π Instant booking
- β Attendance confirmation
- β‘ Real-time CMS updates
- π Subscription-aware access control
- π§ AI SDK ToolLoopAgent
- π± Mobile-responsive UI
| Home | Features |
|---|---|
![]() |
![]() |
| Classes | Pricing |
|---|---|
![]() |
![]() |
| Map View | My Bookings |
|---|---|
![]() |
![]() |
| Checkout | AI Fitness Assistant |
|---|---|
![]() |
![]() |
| Authentication | |
|---|---|
![]() |
- Node.js 18+
- pnpm
- Clerk account
- Sanity account
- Mapbox account
- Vercel AI Gateway access
git clone https://github.com/johnsonr84/ai-class-booking-saas-platform
cd ai-class-booking-saas-platformpnpm installcp .env.example .env.localNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_SANITY_PROJECT_ID=
NEXT_PUBLIC_SANITY_DATASET=
NEXT_PUBLIC_SANITY_API_VERSION=
SANITY_API_TOKEN=
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=
AI_GATEWAY_API_KEY=.env.local.
- Clerk: Create 3 billing tiers + enable trials
- Sanity: Create project + dataset
- Mapbox: Enable autocomplete
- Vercel: Create AI Gateway key
npx sanity dataset import sample-data.ndjson production
pnpm typegenpnpm dev- App: http://localhost:3000
- Studio: http://localhost:3000/studio
- Admin: http://localhost:3000/admin
- Push to GitHub
- Import repo into Vercel
- Add environment variables
- Deploy
Post-deploy:
- Update Clerk allowed origins
- Configure Sanity CORS
- Test booking flow
Robert Johnson
Full-Stack Software Engineer
π https://robertjohnsonportfolio.com








