fitZone
Kerolosnady1/fitZoneOverview
Your Online GymποΈ
Synchronized repository from GitHub (Kerolosnady1/fitZone).
Technologies & Frameworks
Repository Documentation (README.md)
Live Synchronized
ποΈ FitZone - Fitness & Wellness Platform
π Live Demo
π Try FitZone Online
https://kerolosnady1.github.io/fitZone/
πΈ Project Preview
π Home Page

πͺ Training Programs

π Nutrition & Meals

π€ Login Page

π Contact

βΉοΈ About

ποΈ Services

π‘ Want to explore the whole experience?
Visit the live website:
https://kerolosnady1.github.io/fitZone/
``
π Overview
FitZone is a comprehensive fitness and wellness web application designed to help users achieve their health and fitness goals. Built with a stunning Neon Cyberpunk design aesthetic, FitZone offers workout planning, nutrition tracking, calorie calculators, and progress monitoringβall in one platform.
β¨ Features
π Core Features
- User Authentication - Secure registration and login system with password hashing
- User Profiles - Personal profile management with avatar upload
- Progress Tracking - Log and track your weight, workouts, and notes over time
- Workout Streak System - Gamified workout tracking with streak counters
πͺ Training & Workouts
- Exercise Library - Curated exercises with embedded video tutorials
- Training Splits - Pre-built workout programs:
- Bro Split
- Full Body
- Push/Pull
- Body Part Split
- Powerbuilding
π Nutrition
- Healthy Meals Gallery - 10+ nutritious meal options with macros
- Advanced Calorie Calculator - BMR & TDEE calculation using Mifflin-St Jeor equation
- Macro Calculator - Personalized protein, carbs, and fat recommendations
- Goal-Based Planning - Bulking, cutting, and maintenance macros
π Calculators
- BMR Calculator - Basal Metabolic Rate estimation
- TDEE Calculator - Total Daily Energy Expenditure
- Activity Level Adjustment - Low, Normal, and High activity multipliers
π οΈ Tech Stack
| Category | Technology |
|---|---|
| Backend | Python, Flask |
| Database | SQLite3 |
| Frontend | HTML5, CSS3, JavaScript |
| Styling | Custom CSS with Neon Cyberpunk theme |
| Authentication | Werkzeug (Password Hashing) |
| Icons | Font Awesome 6.5 |
| Fonts | Google Fonts (Cairo) |
π Project Structure
fitZone/
βββ app.py # Main Flask application
βββ fitzone.db # SQLite database
βββ requirements.txt # Python dependencies
βββ setup_database.php # Database setup script
β
βββ api/ # REST API endpoints
β βββ auth/ # Authentication APIs
β βββ meals/ # Meals API
β βββ exercises/ # Exercises API
β βββ progress/ # Progress tracking API
β βββ ...
β
βββ templates/ # Flask HTML templates
β βββ base.html # Base template
β βββ index.html # Home page
β βββ login.html # Login page
β βββ register.html # Registration page
β βββ profile.html # User profile
β βββ ...
β
βββ static/ # Static assets
βββ css/
β βββ style.css # Main stylesheet (Neon Cyberpunk)
βββ js/
β βββ main.js # Main JavaScript file
βββ img/ # Images and media
β
βββ database/
β βββ schema.sql # Database schema with seed data
β
βββ index.html # Static home page
βββ about.html # About page
βββ services.html # Services page
βββ meals.html # Meals gallery
βββ training.html # Training programs
βββ contact.html # Contact form
βββ login.html # Static login page
βββ register.html # Static registration page
π Getting Started
Prerequisites
- Python 3.8+
- pip (Python package manager)
- XAMPP (optional, for PHP/MySQL setup)
Installation
-
Clone the repository
bash git clone https://github.com/Kerolosnady1/fitZone.git cd fitZone -
Create a virtual environment (recommended)
```bash
python -m venv venv
# Windows
venv\Scripts\activate
# Linux/macOS
source venv/bin/activate
```
-
Install dependencies
bash pip install -r requirements.txt -
Initialize the database
The SQLite database (fitzone.db) is included. To reset or recreate it:
bash
# Using the SQL schema
sqlite3 fitzone.db < database/schema.sql
-
Run the application
bash python app.py -
Open your browser
http://localhost:5000
π± Pages & Routes
| Route | Description |
|---|---|
/ |
Home page with activity tracker |
/register |
User registration |
/login |
User login |
/logout |
Logout (clears session) |
/profile |
User profile & progress tracking |
/workouts |
Workout plans |
/nutrition |
Recipes & meal plans |
/calculators |
Health calculators |
/contact |
Contact form |
/blog |
Fitness blog |
/api/calc |
BMR/TDEE calculation API |
π¨ Design Philosophy
FitZone features a Neon Cyberpunk aesthetic with:
- π Dark Theme - Easy on the eyes, perfect for late-night workout planning
- β‘ Neon Accents - Vibrant yellow (
#ffeb0e) and cyan (#6decfb) highlights - π Glassmorphism - Modern glass-like panels with subtle transparency
- β¨ Micro-animations - Smooth hover effects and pulse animations
- π± Responsive Design - Works seamlessly on desktop, tablet, and mobile
ποΈ Database Schema
Tables
| Table | Description |
|---|---|
users |
User accounts with profile data (name, email, password, avatar, weight, height, goal) |
meals |
Healthy meals with nutritional information (calories, protein, carbs, fat) |
exercises |
Exercise library with video URLs |
training_programs |
Pre-built workout split programs |
user_progress |
Progress tracking entries (date, weight, notes) |
contacts |
Contact form submissions |
π Security Features
- β
Password hashing using Werkzeug's
generate_password_hash - β Session-based authentication
- β Secure file upload with filename sanitization
- β CSRF protection through Flask sessions
- β SQL injection prevention via parameterized queries
πΈ Screenshots
Click to view screenshots
### Home Page *Futuristic landing page with activity tracker* ### Services Page *Training programs and calorie calculator* ### Meals Gallery *10+ healthy meal options with macros*π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π¨βπ» Author
Kerolos Farag
- π Location: Cairo, Egypt
- π§ Contact: Via the Contact Page
π Acknowledgments
- Flask - Web framework
- Font Awesome - Icons
- Google Fonts - Cairo font family
- All the fitness enthusiasts who inspired this project
Β© 2025 FitZone β’ Neon Cyberpunk v8
Made with πͺ for fitness enthusiasts worldwide