HYH-GYM is a full-featured, responsive web application built with Flask (Python), HTML, CSS, and JavaScript, designed for gym users and administrators. It offers workout information, membership details, user interaction features, and admin functionality with secure authentication using Flask-Login. The application combines usability and design with practical tools like nutrition calculators and a workout info hub.
HYH-GYM/
โโโ run.py # Flask application
โ
โโโ templates/ # Jinja2 templates
โ โโโ index.html # Main homepage
โ โโโ membership.html # Membership plans and payments
โ โโโ cardio.html # Cardio workouts info
โ โโโ resistance.html # Resistance training info
โ โโโ admin.html # Admin dashboard (for adding classes, viewing users)
โ โโโ nutrition.html # BMI & water intake calculator
โ โโโ about.html # About us page
โ โโโ contact.html # Contact and locations
โ โโโ shop.html # Shop page (coming soon)
โ โโโ base.html # Base template with navigation
โ โ
โ โโโ security/ # Authentication templates
โ โโโ login.html # Login page
โ โโโ register.html # Registration page
โ
โโโ static/ # Static files
โโโ css/
โ โโโ style.css # All site styling
โโโ js/
โ โโโ script.js # All site interactivity
โโโ images/ # All images used in the website
โโโ videos/ # Video files used on pages
git clone https://github.com/husseinelsaadii/HYH-GYM.git
cd HYH-GYM
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
python app.py
http://localhost:5000
Flask==2.3.3
Flask-Login==0.6.3
Flask-SQLAlchemy==3.0.5
Werkzeug==2.3.7
Users Table:
Classes Table:
Weโd love to hear your thoughts!
๐ Click here to rate our website
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the LICENSE file for details.