How piyushr013013/youth-strength works
Youth Athlete Pro is a mobile-first training and performance tracker for student athletes. Athletes create an account, choose a training track, select a prebuilt routine or build one, log workouts, and review performance and progress. The app also includes exercise browsing, coaching and form tools, social features, and messaging. The route shell enforces authentication and provides shared live-workout UI. Several domain modules and routes are unsampled, so their capabilities are represented from the README and route index; uncertain implementation links are omitted.
Main entry points: auth.tsx Authentication · route.tsx Authenticated Shell · log.tsx Live Workout Logger · friends.tsx Athlete Community
Components 25
Training
- Athlete Onboarding
src/routes/_authenticated/onboarding.tsx - Exercise Catalog
src/lib/exercises.ts - Exercise Picker
src/components/ExercisePicker.tsx - Exercise Library
src/routes/_authenticated/library.tsx - Program Catalog
src/lib/programs.ts - Routine Library
src/routes/_authenticated/routines.tsx - Workout Builder
src/routes/_authenticated/builder.tsx - Active Workout State
src/lib/active-workout.tsx - Live Workout Logger
src/routes/_authenticated/log.tsx - Rest Timer Overlay
src/components/RestTimerOverlay.tsx
Performance
- Training Gap Analysis
src/routes/_authenticated/analysis.tsx - Progress Dashboard
src/routes/_authenticated/progress.tsx - Athlete Home
src/routes/_authenticated/home.tsx - AI Coach
src/routes/_authenticated/coach.index.tsx - Coach Chat API
src/routes/api/chat.ts - Coach Tools
src/lib/coach-tools.server.ts - Form Check
src/routes/_authenticated/form.tsx
Community
- Athlete Community
src/routes/_authenticated/friends.tsx - Social Services
src/lib/social.ts - Messaging
src/lib/messaging.ts
App Platform
- Landing
src/routes/index.tsx - Authentication
src/routes/auth.tsx - Supabase
src/integrations/supabase/client.ts - Authenticated Shell
src/routes/_authenticated/route.tsx
Other components
- Athlete
Connections 28
- Athlete → Landing: visits
src/routes/index.tsx - Landing → Authentication: starts training
src/routes/index.tsx - Athlete → Authentication: signs in
src/routes/auth.tsx - Authentication → Supabase: authenticates with
src/routes/auth.tsx - Authentication → Athlete Home: navigates after sign-in
src/routes/auth.tsx - Authenticated Shell → Supabase: checks user
src/routes/_authenticated/route.tsx - Authenticated Shell → Active Workout State: provides state
src/routes/_authenticated/route.tsx - Authenticated Shell → Rest Timer Overlay: renders
src/routes/_authenticated/route.tsx - Athlete → Athlete Onboarding: selects training track
README.md - Athlete → Exercise Library: browses exercises
README.md - Exercise Picker → Exercise Catalog: reads exercises
src/components/ExercisePicker.tsx - Athlete → Routine Library: chooses program
README.md - Routine Library → Program Catalog: uses program catalog
src/lib/programs.ts - Athlete → Workout Builder: creates template
README.md - Athlete → Live Workout Logger: logs workout
README.md - Live Workout Logger → Active Workout State: reads workout state
src/routes/_authenticated/log.tsx - Rest Timer Overlay → Active Workout State: reads workout state
src/components/RestTimerOverlay.tsx - Live Workout Logger → Athlete Home: updates training record
- Athlete → Training Gap Analysis: reviews training balance
README.md - Athlete → Progress Dashboard: reviews progress
README.md - Athlete Home → Supabase: loads app data
- Athlete → AI Coach: requests coaching
README.md - AI Coach → Coach Chat API: sends chat
- Coach Chat API → Coach Tools: invokes tools
src/routes/api/chat.ts - Athlete → Form Check: checks exercise form
README.md - Athlete → Athlete Community: connects with athletes
README.md - Athlete Community → Social Services: searches athletes
src/routes/_authenticated/friends.tsx - Athlete Community → Messaging: uses messaging
src/routes/_authenticated/friends.tsx