How abdelrahmanelsafty75/fitflow works
FitFlow is a browser-based workout tracker. Users navigate its routed pages to record workouts, review or delete history, and see volume and consistency summaries; the exercise library separately fetches searchable exercise data from WGER. Workout records persist in browser localStorage through Zustand. The graph reflects documented routing and sampled calls; README-described responsive UI is presentation rather than a separate runtime subsystem, and unsampled source behavior is not inferred.
Main entry points: App.jsx Routed application · useWorkoutStore.js Workout state · Exercises.jsx Exercise library · LogWorkout.jsx Workout logger
Components 13
App navigation
- Routed application
src/App.jsx - Navigation bar
src/components/Navbar.jsx - Home page
src/pages/Home.jsx
Workout tracking
- Workout logger
src/pages/LogWorkout.jsx - Workout history
src/pages/WorkoutHistory.jsx - Progress dashboard
src/pages/Dashboard.jsx
Exercise library
- Exercise library
src/pages/Exercises.jsx - WGER API client
src/services/api.js - Exercise card
src/components/ExerciseCard.jsx
Client persistence
- Workout state
src/store/useWorkoutStore.js - Browser localStorage
Other components
- Fitness user
- WGER service
Connections 14
- Fitness user → Routed application: uses
README.md - Routed application → Navigation bar: renders
src/App.jsx - Routed application → Home page: routes to
src/App.jsx - Routed application → Workout logger: routes to
src/App.jsx - Routed application → Workout history: routes to
src/App.jsx - Routed application → Progress dashboard: routes to
src/App.jsx - Routed application → Exercise library: routes to
src/App.jsx - Workout logger → Workout state: adds log
src/pages/LogWorkout.jsx - Workout history → Workout state: reads and deletes
src/pages/WorkoutHistory.jsx - Progress dashboard → Workout state: reads logs
src/pages/Dashboard.jsx - Workout state → Browser localStorage: persists state
src/store/useWorkoutStore.js - Exercise library → WGER API client: requests exercises
src/pages/Exercises.jsx - WGER API client → WGER service: fetches exercise data
src/services/api.js - Exercise library → Exercise card: renders results
src/pages/Exercises.jsx