This is a Fitness Tracker Web Application built with a React frontend and a PHP/MySQL backend. The application allows users to track their fitness activities, manage routines, and participate in fitness programs.
- Track fitness sessions with date, duration, and routines
- Create, edit, and delete routines
- Participate in fitness programs
- Add comments to sessions
- Frontend: React, Axios, i18next
- Backend: PHP, MySQL
- Server: Apache
- Node.js and npm
- XAMPP or similar (Apache + MySQL server)
-
Clone the repository:
git clone https://github.com/yourusername/fitness-tracker.git cd fitness-tracker
-
Import the
fitness_tracker.sql
file to your MySQL server. -
Update the
api.php
file with your database credentials. -
Place the project folder in the
htdocs
directory of XAMPP and start Apache and MySQL.
-
Navigate to the
frontend
directory:cd frontend
-
Install the dependencies:
npm install
-
Start the development server:
npm start
Access the frontend at http://localhost:3000
and the backend at http://localhost/react_php_app/api.php
.
- Open
http://localhost:3000
in your browser. - Navigate through the Dashboard, Sessions, Routines, and Programs sections.
This project is licensed under the MIT License. See the LICENSE
file for details.