A full-featured workout logging app with AI-powered recommendations, built for CSE311 Lab Project.
Live Demo: fitlogai.tech
- Workout Logging - Track exercises, sets, reps, and weights
- PR Detection - Automatic personal record tracking
- Exercise Library - 130+ exercises organized by muscle group
- Progress Charts - Visualize performance over time
- Workout Templates - Save and reuse favorite workouts
- Workout Programs - Follow structured training programs
- AI Coach - Get personalized workout recommendations (powered by Groq/Llama 3.3)
- Smart Suggestions - Exercise alternatives and form tips
- Body Map - Interactive muscle group visualization
- Google OAuth - Sign in with Google
- Admin Dashboard - User management, analytics, activity logs
- Password Reset - Email-based recovery with OTP
- Achievements - Gamification with unlockable badges
- Backend: PHP 8.0+, MySQL 8.0+
- Frontend: Bootstrap 5, JavaScript, Chart.js
- AI: Groq API (Llama 3.3 70B)
- Auth: Session-based + Google OAuth
- Hosting: Raspberry Pi + Cloudflare Tunnel
-
Setup Database
SOURCE database/schema.sql;
-
Configure
- Edit
config/config.phpfor database credentials
- Edit
-
Access
- Local: http://localhost/FitLog_AI
- Register → Start logging!
FitLog_AI/
├── admin/ # Admin dashboard
├── api/ # REST API endpoints
├── assets/ # CSS, JS, images
├── auth/ # OAuth handlers
├── config/ # App configuration
├── database/ # SQL schema
├── includes/ # Shared PHP components
└── [PHP pages] # Main application pages
Core Tables: users, exercises, workout_logs, exercise_logs, personal_records, workout_templates, programs
Admin Tables: admins, activity_logs, login_history, admin_actions
Security: CSRF protection, prepared statements, password hashing, rate limiting
Abdullah Al Sakib Chowdhury
ID: 2222655042 | Section: 5
CSE311 - Database Systems Lab
MIT - Free for personal use