LADA Shift Sheets
Shift sheets for LADA rec hockey teams, measured from game video
Private coaching. Real progress.
Translation pending
Sports & fitnessTypeScript · CSSGitHub @DTSP-AIOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
Next.js 16 (App Router) + React 19 + Tailwind, deployed on Vercel. Talks to the
FastAPI backend (fight_trainer_backend, Railway) and to Supabase for auth.
Every statement below is taken from the code and cites the file. If something
here disagrees with the code, the code is right and this file is a bug.
pnpm typecheck and pnpm build are the gates a change must pass.Read the full README ↗Next.js 16 (App Router) + React 19 + Tailwind, deployed on Vercel. Talks to the
FastAPI backend (fight_trainer_backend, Railway) and to Supabase for auth.
Every statement below is taken from the code and cites the file. If something here disagrees with the code, the code is right and this file is a bug.
pnpm install # pnpm, not npm — pnpm-lock.yaml is the lockfile
cp .env.local.example .env.local # fill NEXT_PUBLIC_API_URL + Supabase keys
pnpm dev # http://localhost:3000
pnpm typecheck # tsc --noEmit — THE release gate
pnpm build # production build
pnpm lint # ESLint 9 flat config
pnpm typecheck and pnpm build are the gates a change must pass.
pnpm lint runs but is not yet clean: it reports 33 pre-existing errors —
mostly react/no-unescaped-entities and 17 react-hooks/set-state-in-effect.
Those predate the config being added and are tracked as post-ship work. Do not
add eslint-disable comments to make the number smaller.
/ marketing home /pricing, /about, /privacy, /terms
/auth/login coach password login /auth/signup, /auth/signup/coach
/auth/forgot password reset /auth/reset-password
/auth/student/accept invite claim (student Google OAuth binds here)
/invoice/[token] PUBLIC tokenized invoice + Stripe checkout — no auth
/trainer dashboard /trainer/sessions, /sessions/new, /sessions/[id]
/trainer/students, /students/[id], /students/[id]/billing
/trainer/schedule, /plans, /library, /inactivity, /graph
/trainer/billing
/trainer/analyze, /analyze/[id], /fighters, /fighters/[id]
/trainer/settings/payments, /settings/integrations
/student dashboard /student/feed, /sessions, /schedule, /plan
/student/profile, /intake, /graph, /analyzer
/dtsp-admin admin /dtsp-admin/library, /dtsp-admin/import
Supabase Auth, ES256/JWKS — the backend verifies the same JWT.
/auth/login)./auth/student/accept and signs in with Google, which binds that identity to
their existing student row.app_metadata.user_role claim, never from an
email allowlist.Three guard layers, in order:
middleware.ts — edge gate. /trainer/*, /student/*, /dtsp-admin/* each
require the matching role; a signed-in user with the wrong role is redirected
to their own root rather than shown a 403.<RoleGate role="…"> in app/trainer/layout.tsx and app/student/layout.tsx
— client-side, so a soft navigation cannot slip past the edge.All client-visible, all NEXT_PUBLIC_* (see .env.local.example):
| Var | Purpose |
|---|---|
NEXT_PUBLIC_API_URL | FastAPI base URL |
NEXT_PUBLIC_SUPABASE_URL | Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | publishable key (sb_publishable_*) — never the legacy anon JWT |
NEXT_PUBLIC_BUYER_BRAND_NAME / _TAGLINE / _DOMAIN | M4 brand, read only via lib/brand.ts |
NEXT_PUBLIC_PAYMENTS_PROVIDER | venmo (default) or stripe, read at lib/payments.ts |
The Venmo/Zelle identity is deliberately not here: it comes from the tenant
settings row via GET /api/pricing/payment-methods, so the coach's settings
page is the single source of truth (lib/api/pricing.ts).
There is no unit-test harness in this repo — no Jest, no Vitest.
Playwright specs ARE authored (e2e/, playwright.config.ts) but the harness
is not installed: @playwright/test is not a dependency, which is why
playwright.config.ts carries a @ts-nocheck. To activate:
pnpm add -D @playwright/test && pnpm exec playwright install chromium
pnpm exec playwright test
Until then, verification is pnpm typecheck, pnpm build, and manual browser
smoke.