How atefkbenothman/strava-recap works
Main Components
A. Frontend Architecture (Primary Focus)
• Client Application (React)
• UI Component Layer
• Data Visualization Layer (Recharts)
• State Management (Context API)
• External API Integration (Strava)
[Client Browser] → [React Application] ↔ [Strava API]
Detailed Component Breakdown
[Dashboard Component]
• ↓
[Chart Components]
• ActivityCount
• BiggestActivity
• Distance
• Elevation
• HeartRateZones
• etc.
Important Elements to Highlight
• Authentication flow with Strava
• Context providers and their consumers
• Chart data flow from API to visualization
• Component reuse patterns
• UI component library integration (Shadcn)
Implementation Notes
• Annotations for key architectural decisions
• Relationship between contexts and their consumers
• Data transformation flow from API to charts