Phase 1: Foundation
Goal: Email-gated registration, Stripe $30 tryout payment, waiver flow, coach onboarding, GitHub Pages landing page.
Owner: Dev agent
Repo:
forgejo_admin/basketball-api, ldraney/west-side-basketballDepends on: None — bootstrap phase
Scope
- Stripe Payment Link ($30 tryout fee) + CASHPAID promo code for cash walk-ups
- Webhook handler:
checkout.session.completed→ DB record + registration email with token link - Email-gated registration form (token-based access, pre-filled from Stripe data)
- Player fields: name, division, position, height, graduating class, school, photo, DOB
- Parent fields: name, email, phone, waiver signed (timestamp + IP)
- Coach signup flow: contractor agreement → Stripe Connect Express → admin activation
- GitHub Pages landing page with Stripe integration
- Gmail SDK integration for branded emails from
westsidebasketball@gmail.com
Deliverables
- Registration + payment flow live (basketball-api)
- 6 coaches onboarded via Stripe Connect (see Staff & Coaches)
- Landing page live on GitHub Pages
- 34 initial signups before tryout day
Provenance
Consolidates Phases 1–3c from the original tryout prep plan: player registration (1), CI pipeline fix (1a), Postgres CI (1b), service onboarding (1c), coach onboarding (2), brand + tokens (3a), waiver (3a-ii), E2E test (3a-iii), email blast (3b), registration improvements (3c).