Live in production
A mobile-first training PWA with an on-device video form coach and a built-in coach marketplace — live in production, onboarding founding athletes. This page is the architecture, laid out so a technical reviewer can audit it in a minute. The product itself is the proof: install it and inspect the running app.
At A Glance
Real counts from the running codebase — not a roadmap. On-device machine learning and a live Stripe Connect marketplace sit behind them.
What It Is
A training platform with a coach marketplace built in.
His Highest Fitness is its own brand and its own P&L inside the studio's portfolio — a mobile-first PWA for serious lifters. Athletes log real periodized training, get on-device video form analysis with no upload, and read deep analytics on strength and body composition. Coaches sell programs and coaching subscriptions through a marketplace that moves real money.
The outcome it delivers: a lifter gets a coach in their pocket that grades a rep the moment it happens, and a coach gets a storefront and a payout pipeline without building either. It is live in production and onboarding founding athletes — we say exactly where it stands rather than dress it up.
The Stack
The whole architecture, on one page.
Framework versions are named at the major level; internal topology, schemas, and security details are deliberately withheld. Everything below is shipped.
Next.js 16 (App Router, React Server Components) with React 19, TypeScript, and Tailwind CSS 4. A custom component layer — drag-and-drop, a rich-text editor, TanStack Query — rather than shadcn. Delivered as an installable, mobile-first Progressive Web App (manifest plus service worker). On-device inference UI — the form-analysis view runs the model in the browser, on the athlete's phone.
173 Next.js API route handlers plus server-side webhook processing — no separate edge-middleware tier. Stripe Connect fulfillment runs through idempotent webhooks.
Parameterized PostgreSQL with user-scoped queries and no ORM — every read is written against the schema directly. 89 migrations to date, with per-renewal order rows kept so marketplace payout math is reproducible.
REST route handlers over session-authenticated requests, with idempotent Stripe webhooks for anything that moves money or grants entitlement.
Session-based authentication with OAuth sign-in via Google and Microsoft 365. Coach-to-client data sharing is consent-scoped — a coach sees an athlete's training only after that athlete grants it.
Stripe Connect Express with destination charges and a 15% platform application fee. One-time program purchases and subscription coaching both run through it; a refund or dispute revokes the matching entitlement.
On-device video AI built on MediaPipe PoseLandmarker — models are served locally for privacy-preserving analysis, driving bar-path and plate tracking, rep grading, rule-based coaching cues, and a silhouette-based body-composition scan. No video leaves the device for inference.
Vercel hosting with Vercel Blob for video storage, database migrations gated through a GitHub Actions workflow, and a 64-file Vitest test suite spanning smoke scripts and a dedicated ML evaluation harness.
What A Technical Reviewer Will Notice
Three things that are hard to fake.
Money-moving webhooks are idempotent end to end, and per-renewal order rows make every payout reproducible. Replays and retries don't double-charge or double-pay.
Form analysis runs in the browser on the athlete's phone — privacy- preserving, with no server round-trip and no video upload for inference. You can watch the network stay quiet while it grades a rep.
89 migrations and 173 routes on parameterized, user-scoped PostgreSQL with no ORM, and CI migration gates in front of the database. Schema discipline held by process, not by a framework's guardrails.
Verify It Yourself
Don't take our word for it — install the app.
His Highest Fitness is live. Open it on your phone, install the PWA, and run a set in front of the camera — the form coach grades it on-device while your network tab shows no video leaving the phone. Everything on this page is something you can see running, not a claim you have to trust.