FitTrack Pro is a startup project and requires further implementation for full functionality. It's a simple web application designed to help users track their fitness journey, set goals, and monitor progress. Built with AngularJS, vanilla JavaScript, and PHP for the backend.
- Dashboard: Get an overview of your fitness stats, including total workouts, calories burned, and current streak.
- Workout Log: Easily log and view your workout history.
- Progress Tracking: Visualize your weight and workout duration progress over time.
- Goal Setting: Set and track personalized fitness goals.
- AngularJS
- Vanilla JavaScript
- PHP
- HTML5
- CSS3
- Chart.js
- Font Awesome
- Displays fitness stats (total workouts, calories burned, total minutes, day streak)
- Recent activities list
- Weekly progress chart
- Form to add new workouts
- Table to display recent workouts
- Charts to display weight progress and workout duration progress
- Form to set new goals
- List to display current goals with progress bars
-
Clone the repository:
git clone https://github.com/JohnDev19/Fitness-Tracker.git
-
Navigate to the project directory:
cd Fitness-Tracker
-
Set up the PHP backend:
- Ensure you have a local server environment set up (e.g., XAMPP, WAMP).
- Place the project folder in the server's root directory (e.g.,
htdocs
for XAMPP).
-
Open
index.html
in your browser to view the application.
To modify the application:
- Edit the HTML in
index.html
. - Update the styles in the
<style>
section. - Modify the JavaScript logic in
app.js
. - Update the PHP backend files in the
api
directory as needed.
api/dashboard.php
: Fetches dashboard data.api/workouts.php
: Handles fetching and adding workouts.api/progress.php
: Fetches progress data.api/goals.php
: Handles fetching and adding goals.
- User authentication and profiles
- Integration with fitness wearables
- Nutrition tracking
- Social features for sharing progress and challenges
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
Happy coding and stay fit with FitTrack Pro! 🏋️♂️🏃♀️