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 supersededThe 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.
Where to go next
| If you want to | Read |
|---|---|
| Understand the shape | Overview · Architecture |
| Call the service | The three routes |
| Understand offline and sync | State and sync |
| Know what the training actually is | The programme · Training science |
| Touch anything visual | Design system · Guardrails |
| Know why identity works the way it does | Identity |