0% found this document useful (0 votes)
18 views16 pages

DBMS

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views16 pages

DBMS

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

A Project

On
GYM MANAGEMENT SYSTEM

BACHELOR OF COMPUTER APPLICATIONS

Under The supervision of


Dr. Shrikant Tiwari

Submitted By

Sachin Verma (23SCSE1430251)


Shambhavi (23SCSE1430164)

SCHOOL OF COMPUTER APPLICATION AND


TECHNOLOGY
/ DEPARTMENT OF COMPUTER APPLICATION
GALGOTIAS UNIVERSITY, GREATER NOIDA
INDIA

ACKNOWLEDGMENT
INDEX

 INTRODUCTION

 SYSTEM REQUIREMENTS

 DATABASE DESIGN

 INSERTING SAMPLE DATA

 SYSTEM FEATURES

 FURTHER TOPICS

INTRODUCTION
In today's fast-paced world, maintaining
a healthy lifestyle has become
increasingly important. Gyms play a
crucial role in providing individuals with
the necessary facilities and guidance to
achieve their fitness goals. However,
managing a gym can be a complex and
challenging task, involving various
aspects such as member management,
trainer scheduling, payment tracking,
and more. To streamline these processes
and improve overall efficiency, a well-
designed gym management system is
essential.
The Gym Management System is a
comprehensive software application
designed to simplify and automate the
operations of a gym or fitness center. It
provides a centralized platform for
managing members, trainers,
membership plans, schedules, and
payments, ensuring smooth and
efficient operation.
SYSTEM REQUIREMENTS
# Software Requirements

 Operating System: (Window 7 or


later)
 MySQL (MySQL Server 5.7 or later)
 Python Packages: ( Flask and mysql-
connector-
Python)

 Web Browers: (Google Chrome)

# Hardware Requirement

 Processor: (Dual core processor or


Better)
 Memory(RAM): (4GB or more for
better
Performance)

 Storage: At least 1GB of Disk Space


DATABASE DESIGN
 ER DIAGRAM
 CODE
The Gym Management System is built upon
a robust and well-structured database,
designed to store and manage all the
relevant information efficiently. The
database consists of the following tables:
 Membership Plans
The Membership Plans tables stores
information about the different
membership plans offered by the gym.

CREATE TABLE IF NOT EXISTS MembershipPlans (


Membership_id INT AUTO_INCREMENT PRIMARY
KEY,
Plan_name VARCHAR(50),
duration_months INT,
cost DECIMAL(10, 2)
);

 Members
The Members table stores information
about the gym members, including their
personal detail and membership
information.
CREATE TABLE IF NOT EXISTS Members (
member_id INT AUTO_INCREMENT PRIMARY
KEY,
first_name VARCHAR(50),
last_name VARCHAR(50),
date_of_birth DATE,
gender ENUM(‘Male’, ‘Female’, ‘other’),
email VARCHAR(100),
phone VARCHAR(15),
address VARCHAR(225),
membership_id INT,
start_date DATE,
end_datec DATE,
FORGEIGN KEY (membership_id) REFERENCES
MembershipPlans(membership_id)
);

 Trainers
The Trainers table stores information
about the gym trainers, including their
personal details, specialization, and
salaries.

CREATE TABEL IF NOT EXISTS Trainers (


trainer_id INT AUTO_INCREMENT PRIMARY KEY,
first_name VARCHAR(50),
last_name VARCHAR(50),
email VARHAR(100),
phone VARCHAR(15),
specialization VARCHAR(100),
salary DECIMAL(10, 2)
);
 Payments
The Payment table stores information
about the payments made by members
for their membership or other services.

CREATE TABLE IF NOT EXISTS Payments (


payment_id INT AUTO_INCREMENT PRIMARY
KEY,
member_id INT,
amount DECIMAL(10, 2),
payment_date DATE,
payment_method ENUM(‘Cash’, ‘Card’,
‘Online’),
FOREIGN KEY (member_id) REFERENCES
Members
(member_id)
);

 Schedules
The Schedules table stores information
about the scheduled classes or sessions,
including the trainer,
Member, class type, date, and time.

CREATE TABLE IF NOT EXISTS Schedules (


schedule_id INT AUTO_INCREMENT PRIMARY
KEY,
trainer_id INT,
member_id INT,
class_type VARCHAR(50)
schedules_date DATE,
start_time TIME,
end_time TIME,
FOREIGN KEY (trainers_id) REFERENCES
Trainers(trainer_id)
FOREIGN KEY (member_id) REFERENCES
Members
(member_id)
);
Inserting Sample Data
-- Inserting data into MembershipPlans
INSERT INTO MembershipPlans (plan_name,
duration_months, cost) VALUES
('Monthly', 1, 500.00),
('Quarterly', 3, 1350.00),
('Yearly', 12, 4800.00);

-- Inserting data into Trainers


INSERT INTO Trainers (first_name, last_name, email,
phone, specialization, salary) VALUES
('Sachin', 'Verma', '[email protected]', '1234567890',
'Weight training', 3000.00),
('Shambhavi', 'Gupta', '[email protected]', '0987654321',
'Yoga Classes', 3200.00);

-- Inserting data into Members


INSERT INTO Members (first_name, last_name,
date_of_birth, gender,
email, phone, address, membership_id, start_date,
end_date) VALUES
('Himanshi', 'Garg', '2003-01-15', 'Female',
'[email protected]', '5551234567', 'Greater Noida', 1,
'2024-01-01', '2024-01-31'),
('Himanshu', 'Choudhary', '2004-07-20', 'Male',
'[email protected]', '5559876543', 'Rudrapur', 3, '2024-01-
01', '2024-12-31');

-- Inserting data into Payments


INSERT INTO Payments (member_id, amount,
payment_date, payment_method) VALUES
(1, 500.00, '2024-01-01', 'Card'),
(2, 4800.00, '2024-01-01', 'Online');

-- Inserting data into Schedules


INSERT INTO Schedules (trainer_id, member_id, class_type,
schedule_date, start_time, end_time) VALUES
(1, 1, 'Yoga', '2024-01-02', '08:00:00', '09:00:00'),
(2, 2, 'Weight Training', '2024-01-03', '10:00:00', '11:00:00');
System Features
The Gym Management System offers a wide range of
features to streamline and optimize the operations of a
gym or fitness center. These features include:

 Member Management: Allows gym staff to add,


update, and manage member information, including
personal details, membership plans, and payment records.
 Trainer Management: Facilitates the management of
trainers, including their personal details, specializations,
and schedules.
Membership Plan Management: Enables the creation and
management of various membership plans, with
customizable durations and costs.
 Class Scheduling: Provides a user-friendly interface
for scheduling classes or sessions, assigning trainers, and
managing member enrollments.
 Payment Tracking: Allows gym staff to record
and track member payments for memberships,
personal training sessions, or other services.
 Reporting and Analytics: Generates detailed
reports and analytics on membership trends, revenue,
class attendance, and other relevant metrics, aiding in
data-driven decision-making.
 User Management: Supports role-based access
control, allowing different levels of access and permissions
for gym staff, trainers, and members.
 Notifications and Reminders: Sends automated
notifications and reminders to members and
trainers regarding class schedules, payment due
dates, and other important updates.

Further Topics
While the Gym Management System covers a wide range of
features and functionalities, there are several additional topics
that can be explored and implemented to enhance the system
further:

 Integration with Fitness Tracking Devices:


Enabling integration with wearable fitness trackers and
mobile applications to seamlessly capture and monitor
members' fitness activities and progress.
 Online Booking and Scheduling: Implementing an
online booking and scheduling system to allow members
to easily book classes, personal training sessions, or other
services directly through the system.
 Dietary and Nutrition Planning: Incorporating
features for creating and managing personalized dietary
and nutrition plans for members based on their goals and
preferences.
 Virtual Training and Workout Sessions:
Exploring the possibility of offering virtual training and
workout sessions, allowing members to participate
remotely and access fitness content from anywhere.
 Gamification and Rewards System:
Implementing gamification elements and a rewards
system to encourage member engagement, motivation,
and loyalty.
 Mobile Application Development: Developing a
mobile application to provide members and trainers with
convenient access to the system's features and
functionalities on-the-go.
 Artificial Intelligence and Machine Learning
Integration: Exploring the integration of artificial
intelligence and machine learning techniques for
personalized workout recommendations, injury prevention,
and performance tracking.
 Integration with Social Media and Community
Features: Adding social media integration and
community features to foster a sense of community
among members, enabling them to connect, share
experiences, and motivate each other.

These topics represent potential areas for future


development and innovation, ensuring that the Gym
Management System remains at the forefront of
technology and continues to meet the evolving needs
of gym owners, trainers, and members.

You might also like