A simple and intuitive React-based fitness tracking application that helps you monitor your workouts, daily steps, calorie intake, and visualize your progress over time.
- Workout Logger: Track exercises with sets, reps, and duration
- Step Counter: Log daily steps with a 10,000 step goal
- Calorie Tracker: Record meals and track calorie intake
- Progress Charts: Visualize your fitness data with interactive charts
- Recent Activity: View your latest logged activities
- Local Storage: All data is saved in your browser
- Node.js (v14 or higher)
- npm or yarn
- Install dependencies:
npm install- Start the development server:
npm start- Open your browser and navigate to:
http://localhost:3000
- Enter the exercise name (e.g., "Push-ups", "Running")
- Add sets, reps, or duration
- Select the date
- Click "Log Workout"
- Enter the number of steps taken
- Select the date
- Click "Log Steps"
- Enter the meal name
- Add calorie count
- Select meal type (Breakfast, Lunch, Dinner, Snack)
- Select the date
- Click "Log Meal"
- The dashboard displays today's summary stats
- Scroll down to view interactive charts showing trends over time
- Check "Recent Activity" for your latest 10 entries
- React 18
- Recharts (for data visualization)
- Local Storage (for data persistence)
- CSS3 (with responsive design)
fitness-tracker-demo/
├── public/
│ └── index.html
├── src/
│ ├── components/
│ │ ├── WorkoutLogger.js
│ │ ├── StepCounter.js
│ │ ├── CalorieTracker.js
│ │ └── ProgressCharts.js
│ ├── App.js
│ ├── App.css
│ └── index.js
├── package.json
└── README.md
All your fitness data is automatically saved to your browser's local storage, so you won't lose your progress when you close the app.
The app is fully responsive and works on desktop, tablet, and mobile devices.
Three interactive charts show:
- Daily step count trends
- Calorie intake patterns
- Workout frequency over time
Potential features to add:
- User authentication
- Cloud data sync
- Weekly/monthly reports
- Custom fitness goals
- Export data to CSV
- Exercise library with images
- BMI calculator
- Water intake tracker
This is a demo project for educational purposes.
Feel free to fork this project and add your own features!