ScaffoldHub / Templates / Gym and fitness

Gym and fitness SaaS template

Multi tenant · React + Hono + Prisma · TypeScript

A multi-tenant gym SaaS, generated from a visual model. Memberships, class schedules, trainer profiles, individual workouts, and exercise libraries.

Each gym branch is an organization with its own members, schedules, and trainers. Edit the model to add nutrition tracking, progress photos, or wearable integrations, and regenerate.

Gym and fitness SaaS template demo screenshot

Entities in this template

  • Workout
  • Exercise
  • Fitness class
  • Membership plan
  • Trainer

Each entity gets a generated form, list view, filter, CSV import and export, and audit logging — wired automatically from the model. Add a field on the canvas, regenerate, and every layer (Prisma migration, Hono route, React form, list, validation, test) updates together.

What ships with the template

  • Multi-branch tenancy
  • Class scheduling with capacity limits
  • Membership plans with Stripe billing
  • Trainer profiles and assignments
  • Workout and exercise library per member
  • Audit logs and member activity history

Common use cases

  • Multi-location gym chain
  • Boutique studio booking
  • Online coaching platform
  • Corporate wellness program

Stack

  • Frontend: React 19 + TanStack Router + shadcn/ui + Tailwind CSS v4
  • Backend: Hono + TypeScript with Prisma 7 and PostgreSQL
  • Auth: Better Auth (email + Google OAuth + sessions)
  • Billing: Stripe (hosted checkout, webhooks, customer portal)
  • Mobile: Expo / React Native scaffold with push notifications
  • AI assistants: AGENTS.md, docs/ folder, and built-in MCP server

Frequently asked questions

Can members book classes from a phone?

Yes. The Expo / React Native scaffold ships with a WebView wrapper, so the same booking flow works on iOS and Android.

Does it handle wearables (Apple Watch, Garmin)?

No, wearable sync is not generated. The Workout and Exercise models are the foundation; integrate HealthKit or Garmin Connect on top.

Other templates