Home / Projects / fitZone
Synced with GitHub 0 Stars 0 Forks

Overview

Your Online GymπŸ‹οΈ

Synchronized repository from GitHub (Kerolosnady1/fitZone).

Technologies & Frameworks

HTML

Repository Documentation (README.md)

Live Synchronized

FitZone Logo

πŸ‹οΈ FitZone - Fitness & Wellness Platform

Python Version Flask SQLite License Version


🌐 Live Demo

πŸš€ Try FitZone Online

https://kerolosnady1.github.io/fitZone/


πŸ“Έ Project Preview

🏠 Home Page

docs/screenshots/home.png


πŸ’ͺ Training Programs

docs/screenshots/training.png


🍎 Nutrition & Meals

docs/screenshots/meals.png


πŸ‘€ Login Page

docs/screenshots/login.png


🌐 Contact

docs/screenshots/contact.png


ℹ️ About

docs/screenshots/about.png


πŸˆ‚οΈ Services

docs/screenshots/services.png


πŸ’‘ 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

  1. Clone the repository
    bash git clone https://github.com/Kerolosnady1/fitZone.git cd fitZone

  2. Create a virtual environment (recommended)
    ```bash
    python -m venv venv

# Windows
venv\Scripts\activate

# Linux/macOS
source venv/bin/activate
```

  1. Install dependencies
    bash pip install -r requirements.txt

  2. 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

  1. Run the application
    bash python app.py

  2. 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.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. 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


Β© 2025 FitZone β€’ Neon Cyberpunk v8

Made with πŸ’ͺ for fitness enthusiasts worldwide

← Back to All Projects Discuss This Project β†’