Skip to main content

sports-app

sports-app is a zero-equipment calisthenics trainer, installed as an offline-first PWA. You open it, it already knows what today's session is, you pick how hard a day you are having, and you work through the exercises one page at a time tapping Next. It takes about twelve minutes. It never asks you anything else.

Runs at
/sports-app (client) and /sports-app-api (state service)
Made of
Three workspaces — client/, server/, shared/
The service is
Three routes, one table, Fastify underneath
Identity
Accounts on the service, Ward as a second way in — the username is the document key
Adapts to your log
Never

The schedule never adapts to what you log​

Since 2026-09-04 the app records what you did, shows dates, a streak and a calendar, and compares against last time. None of it reaches the prescription. It grows on a fixed schedule — roughly one ladder rung every six weeks — as a pure function of sessions completed.

That is the governing design decision, and it is what makes everything else small. A schedule that adapted would need a model of you, a way to be wrong about you, and a way to tell you it had changed its mind. This one needs a count of sessions.

SPEC.md is partly superseded

The v1 design document describes the adaptive engine this app no longer has. Where it disagrees with the corpus, the corpus wins until SPEC.md is revised.

The constraints that shaped everything​

  • Zero equipment, no purchases. A hard constraint, reaffirmed three times. Its consequence is stated openly rather than hidden: the app cannot train pulling strength, only scapular retraction and upper-back endurance.
  • Sweaty hands, phone on the floor. Mid-workout every tap is expensive. This is why the numerals are oversized. The pure core in client/src/domain/ still never reads the clock.
  • One user, then two. More than one person can train on the same deployment, each with an account on the service, or signed in through Ward. The product is still shaped by one person's constraints, not by a market.
Read the dashed line first: the client is fully usable with the service unreachable, and sync is a convenience rather than a dependency — open full screen, where search, tracing and the guided views are usable.

Where to go next​

If you want toRead
Understand the shapeOverview · Architecture
Call the serviceThe three routes
Understand offline and syncState and sync
Know what the training actually isThe programme · Training science
Touch anything visualDesign system · Guardrails
Know why identity works the way it doesIdentity