Gymspire Academy

What's changed

A short look at the new coach and admin app, and what it means for the gym.

Why we rebuilt

The live app is Next.js on Firebase.

Firebase holds the data, which locks the gym to one vendor. It also made the app harder for us to change.

We rebuilt it in SvelteKit and moved the data off Firebase. Same tools in front of staff, less fuss behind the scenes.

Same tools as before

Coaches and admins still have the same core pages.

  • Programmes
  • Venues, rotas, events and closures
  • Skills
  • Coach Hub
  • Feedback
  • The team

We did the rewrite with feature parity first. Nothing core was dropped to get the new app out.

For coaches

Skills start as thumbnails. Tap one and the player opens.

Pages load in the background, with a placeholder while they do.

A short message appears in the corner when something saves or goes wrong.

The new coach skills library, with thumbnail cards and a desktop sidebar.

For admins

A few of the fiddly jobs are simpler now.

The requirements matrix is editable. You can drag categories and field types around, and hide old ones behind Show inactive without deleting the data.

Staff roles have a proper create-role screen. Venues are flatter: closures sit on the main list.

Documents can be dragged into order, and edited full screen. Skill videos can be reordered the same way, and transcoding progress runs in the background.

There is a desktop sidebar, so the admin pages stay easy to reach.

Contracts are recorded by hand, by an admin.

The admin documents page, with a desktop sidebar and drag handles to set the order.

Onboarding and right to work

New coaches follow a guided flow. You can see which step they are on, and act on that step.

Right to work is a photo or an upload of a UK document: a passport, a BRP, or a share code.

They no longer type a document number.

Coach onboarding, showing the current step as Right to work, with later steps still locked.

Sign-in and security

Sign-in and password reset now run through Better Auth, not Firebase.

Admins have to use two-factor authentication.

Coaches can turn it on from their profile if they want it.

The invite flow is still there. New staff join the same way.

The new sign-in page, with email, password, and a forgotten password link.

Under the hood

We dropped Firebase and Firestore. Data now lives in libSQL. Files go to S3.

A typical read, then and now:

const snap = await getDocs(collection(db, 'venues'));

return snap.docs.map((doc) => ({
  id: doc.id,
  ...doc.data(),
}));

What that means

The gym is not locked to Firebase.

Admins spend fewer steps on venues, roles, documents and the matrix.

New coaches have a clearer path through onboarding, and right-to-work evidence is a photo, not a typed number.

The data and files sit in tools we already use on other work.

That's the lot

Happy to go through it on a screen

The new app covers the same ground as the old one, with less fiddling for admins and a clearer path for new coaches.

If you want to click through it together, we can do that next.

1/10