FITNESS CENTRE MANAGEMENT SYSTEM (Final)
FITNESS CENTRE MANAGEMENT SYSTEM (Final)
SURAPET
NAME: HARIKASH. L
CLASS: XII A3
ROLL NUMBER:
BATCH NO.
DATE.
1
BONAFIDE CERTIFICATE
HARIKASH. L of class XII A3, Roll.no ... ……….at Velammal Vidhyashram, Surapet,
Senior School Certificate Examination-CBSE, New Delhi for the academic Year
2024 - 2025.
Date: …………………….
Apart from the efforts taken by me, the success of the project depends
largely on the encouragement and guidelines of many others. I take this
opportunity to express my gratitude to the people who have been
instrumental in the successful completion of this project.
The guidance and support received from all the members who
contributed, was vital for the success of the project. I am grateful for their
constant support and help.
3
TABLE OF CONTENT
1 5
ABSTRACT
2 SYSTEM CONFIGURATION 5
3 INTRODUCTION 6
PROPOSED SYSTEM
5 7
8 SOURCE CODE 11
9 OUTPUT (SCREENSHOT) 20
CONCLUSION
10 38
BIBILOGRAPHY
11 38
4
ABSTRACT
In many Gyms, the payment receipts are in paper format. So, it is very difficult
for both gym members to keep all the paper receipts safely and to gym trainer to
keep reminding for the fee receipts. Sometimes it creates a trouble when members
lost their receipts. The other problem that can be faced by a gym owner is that if
he/she wants to inform any message related to working or non working days of
gym, manually sending message become difficult. If there is online application
available these problems can be solved.
SYSTEM CONFIGURATION
Hardware configuration:
Microsoft windows 10 professional/windows 8/windows 8.2:
Processor : Intel Core i3 or equivalent
Memory : 2 GB (32-bit), 4 GB (64-bit)
Disk space : 1.5 GB of free disk space
Software Requirements:
Android Tools:
PHP Tools:
5
INTRODUCTION
This helps in making work easy for the gym staff which is lengthy and a little bit
complex because of doing it on paper.
This website also helps the member of a gym, through this website the members
can track their reports. The aim of creating this project is to bring every manual
activity of the gym to the website or on the online platform.
It also allows guest users to apply for Gym membership directly via the website.
Trainers of the gym also can track their attendance and work out details of
members via this website.
Trainers can prepare workout schedules and diet charts for members via this
website.
6
PROPOSED SYSTEM
In the Fitness centre management system, after the planning and analysis phase
of the system gets completed. Then the next phase required to transform the
collected required system information into a structural blueprint which will serve
as a reference while constructing the working system. This is a fully-fledged
system that will be the backbone of the whole management of the gym so ignoring
the risk or error is not an option as later it can make a greater form of itself. So,
it is better to minimize the problems faced by both staff and the manager in the
Organization.
USED FUNCTIONS:
7
MYSQL QUERIES USED IN THIS PROJECT
USE fitness_center;
id INT AUTO_INCREMENT,
name VARCHAR(255),
email VARCHAR(255),
phone VARCHAR(20),
membership_type VARCHAR(50),
joining_date DATE,
id INT AUTO_INCREMENT,
equipment_name VARCHAR(255),
quantity INT,
id INT AUTO_INCREMENT,
name VARCHAR(255),
8
specialization VARCHAR(255),
experience INT,
id INT AUTO_INCREMENT,
member_id INT,
trainer_id INT,
session_date DATE,
session_time TIME,
id INT AUTO_INCREMENT,
member_id INT,
payment_date DATE,
payment_amount FLOAT,
9
STRUCTURE OF THE TABLE
10
SOURCE CODE
import mysql.connector
from mysql.connector import Error
from datetime import date, datetime
11
cursor = conn.cursor()
query = "INSERT INTO members (name, email, phone,
membership_type, joining_date) VALUES (%s, %s, %s, %s,
%s)"
val = (name, email, phone, membership_type, date.today())
cursor.execute(query, val)
conn.commit()
conn.close()
12
cursor = conn.cursor()
query = "INSERT INTO trainers (name, specialization,
experience) VALUES (%s, %s, %s)"
val = (name, specialization, experience)
cursor.execute(query, val)
conn.commit()
conn.close()
15
query = "SELECT * FROM sessions"
cursor.execute(query)
result = cursor.fetchall()
for row in result:
print(row)
conn.close()
# Main menu
while True:
print("Fitness Center Management System")
print("1. Add Member")
16
print("2. Add Equipment")
print("3. Add Trainer")
print("4. Book Session")
print("5. Make Payment")
print("6. Display Members")
print("7. Display Equipment")
print("8. Display Trainers")
print("9. Display Sessions")
print("10. Display Payments")
print("11. Exit")
if choice == "1":
name = input("Enter member name: ")
email = input("Enter member email: ")
phone = input("Enter member phone: ")
membership_type = input("Enter membership type: ")
add_member(name, email, phone, membership_type)
elif choice == "2":
equipment_name = input("Enter equipment name: ")
quantity = int(input("Enter quantity: "))
17
add_equipment(equipment_name, quantity)
elif choice == "3":
name = input("Enter trainer name: ")
specialization = input("Enter specialization: ")
experience = int(input("Enter experience: "))
add_trainer(name, specialization, experience)
elif choice == "4":
member_id = int(input("Enter member ID: "))
trainer_id = int(input("Enter trainer ID: "))
session_date = input("Enter session date (YYYY-MM-DD):
")
session_time = input("Enter session time (HH:MM:SS): ")
book_session(member_id, trainer_id, session_date,
session_time)
elif choice == "5":
member_id = int(input("Enter member ID: "))
payment_date = input("Enter payment date (YYYY-MM-
DD): ")
payment_amount = float(input("Enter payment amount: "))
make_payment(member_id, payment_date,
payment_amount)
elif choice == "6":
display_members()
elif choice == "7":
18
display_equipment()
elif choice == "8":
display_trainers()
elif choice == "9":
display_sessions()
elif choice == "10":
display_payments()
elif choice == "11":
print("Exiting...")
break
else:
print("Invalid choice. Please try again.")
19
OUTPUT
20
21
22
23
24
25
26
27
28
29
30
31
COUSTOMER DETAILS:
32
EQUIPMENT DETAILS:
33
SESSION TIMING DETAILS OF COUSTOMERS:
PAYMENT DETAILS:
34
SQL REPORT:
35
36
37
CONCLUSION
Fitness centre management system project objective of this project was to build
a program for maintaining fitness centre management system project details of
all fitness centre management system project members, employees and inventor.
Fitness centre management system project system developed is able to meet all
fitness centre management system project basic requirements. Fitness centre
management system project management of fitness centre management system
project records (both members and employees) will be also benefited by fitness
centre management system project proposed system, as it will automate fitness
centre management system project whole procedure, which will reduce fitness
centre management system project workload.
BIBILOGRPHY
Computer Science With Python by Sumita Arora for Class 11& 12.
https://www.w3schools.com/python/
https://www.tutorialspoint.com/python/index.htm
38