Skip to main content
Gym CRM — hero image
Web App Live 2025

Gym CRM

Modern gym management platform with AI-powered meal planning and smart check-ins

Tech Stack

Fastify TypeScript HTMX Tailwind Prisma MySQL Claude AI OpenAI

Overview

A gym management platform that handles everything a gym owner deals with daily — members, subscriptions, attendance, and billing — plus AI features that set it apart: personalized meal plans generated by Claude and a video analysis chat powered by OpenAI transcription. Server-rendered with HTMX, no client-side framework. Two separate interfaces: an admin dashboard for gym staff and a self-service app for members.

The Challenge

Gym management software tends to be either bloated enterprise tools or simple spreadsheet replacements. The client needed something in between — a system that handles real subscription complexity (8 workout types, 4 duration tiers, freezing periods, automatic discount calculation) while staying simple enough for front-desk staff to use without training. On top of that, they wanted AI-powered services for their members: personalized nutrition planning and the ability to upload training videos and ask questions about them.

The technical challenge: deliver all of this as a fast, server-rendered app without the overhead of a client-side framework — keeping the codebase lean and the deployment simple.

The Solution

A Fastify 5 SSR application using fluent-html and HTMX for interactive views. Prisma with MySQL manages 13 models across members, subscriptions, visits, and AI conversations. The architecture keeps things simple — session-based auth with separate admin and member flows, server-rendered pages with HTMX for partial updates where it matters.

Subscription engine supports 8 workout types (Open Gym, Guided 4x/8x, Yoga, Martial Arts 4x/8x/12x, Combination) across 4 duration tiers with automatic discount calculation. Subscriptions can be frozen with day-tracking, and the system handles payment recording for both card and cash.

QR code check-ins let members scan a code at the entrance to log their visit. The admin dashboard tracks attendance in real time with 30-day performance analytics per QR code.

AI meal planning uses Claude to generate personalized meal plans based on member goals, dietary preferences, and calorie targets. Plans are structured by meal with macro breakdowns and exportable as branded PDFs.

Video transcription chat lets trainers upload workout videos, which OpenAI Whisper transcribes automatically. Members and staff can then ask questions about the video content through an AI chat interface — useful for reviewing form cues, exercise breakdowns, or training notes.