0% found this document useful (0 votes)
31 views32 pages

Gym Website Project Report 2024

Uploaded by

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

Gym Website Project Report 2024

Uploaded by

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

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

Jnana Sangama, Belagavi-590018

A Database Management System Mini Project Report on


“GYM WEBSITE”
Submitted in Partial fulfillment of the Requirements for the V Semester of the Degree of

Bachelor of Engineering in
Information Science &
Engineering By
AMISHA THAKUR (1CR21IS017)

Under the Guidance of,

Prof. RAKESH KUMAR ,Assistant Professor, Dept. of ISE


Prof. UPASANA M ,Assistant Professor, Dept. of ISE

DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING


CMR INSTITUTE OF TECHNOLOGY
Affiliated to VTU, Approved by AICTE, Accredited by NBA and NAAC with “A++” Grade
ITPL MAIN ROAD, BROOKFIELD, BENGALURU-560037, KARNATAKA, INDIA
CMR INSTITUTE OF TECHNOLOGY
Affiliated to VTU, Approved by AICTE, Accredited by NBA and NAAC with “A++” Grade

ITPL MAIN ROAD, BROOKFIELD, BENGALURU-560037, KARNATAKA, INDIA

DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING

CERTIFICATE
This is to certify that the Database Management System Project work entitled “GYM
WEBSITE” has been carried out by AMISHA THAKUR (1CR21IS017) bona fide students
of CMR Institute of Technology, Bengaluru in partial fulfillment for the award of the Degree of
Bachelor of Engineering in Information Science and Engineering of the Visvesvaraya
Technological University, Belagavi during the year 2023-2024. It is certified that all
corrections/suggestions indicated for the Internal Assessment have been incorporated in the
report deposited in the departmental library. This Database Management System Project report
has been approved as it satisfies the academic requirements in respect of project work
prescribed for the said Degree.

Signature of HOD
Signature of Guide
Dr. Jagadishwari V
Prof. Rakesh Kumar
External Viva Associate Professor & HOD
Assistant professor
Dept. of ISE, CMRIT
Dept. of ISE, CMRIT

Name of the Examiners Signature with date

1.

2.

1
DECLARATION

We, the students of V semester of Information Science and Engineering, CMR Institute of
Technology, Bangalore declare that the project work entitled "GYM WEBSITE" has been
successfully completed under the guidance of Prof. Rakesh, Assistant Professor, CMR Institute of
technology, Bengaluru. This project work is submitted in partial fulfillment of the requirements for
the award of the Degree of Bachelor of Engineering in Information Science and Engineering
during the academic year 2023-2024. The matter embodied in the project report has not been
submitted previously by anybody for the award of any degree or diploma to any university.

Place: Bangalore

Date: 18/03/2024

Team members:

AMISHA THAKUR(1CR21IS017)

ANKIT RAJ (1CR21IS023)

ADITI GARG (1CR21IS007)

2
ABSTRACT

Experience fitness excellence with our dynamic gym website crafted with HTML, CSS, PHP,
and MySQL. Our platform seamlessly integrates user-friendly design with robust
functionality, offering personalized workout routines, progress tracking, and nutrition advice.
Through interactive features and a secure database, members can conveniently manage
memberships, schedule classes, and connect with trainers. With responsive design, our site
ensures optimal viewing on any device, empowering users to achieve their fitness goals
anytime, anywhere. Join our community today and embark on a journey towards a healthier,
stronger you.

Keywords: Online membership,gym motivation, User access, Admin access, Convenience

3
ACKNOWLEDGEMENT

I take this opportunity to express my sincere gratitude and respect to CMR Institute of Technology,
Bengaluru for providing me a platform to pursue my studies and carry out the Database Management
System Project.
It gives me an immense pleasure to express my deep sense of gratitude to Dr. Sanjay Jain,
Principal, CMRIT, Bengaluru, for his constant encouragement.
I would like to extend my sincere gratitude to Dr. M Jagdishwari, HOD, Department of
Information Science and Engineering, CMRIT, Bengaluru, who has been a constant support and
encouragement throughout the course of this project.
I would like to thank my guide [Link], Assistant Professor, Department of Information Science
and Engineering, for the valuable guidance throughout the tenure of the project work.
I would also like to thank all the faculty members of the Department of Computer Science and
Engineering who directly or indirectly encouraged me.
Finally, I thank my parents and friends for all the moral support they have given me during the
completion of this work.

4
Contents Page No.
Certificate 1
Declaration 2
Abstract 3
Acknowledgement 4
Table of contents 5
List of Figures 6
List of Tables 9
1. Introduction 8
1.1 Objectives 9
1.2 Scope of Project 9
2. System Requirements 10
2.1 Hardware Requirements 10
2.2 Software Requirements 10
3. Design 11
3.1 Schema Diagram 12
3.2 ER Diagram 15
4. Implementation 16
4.1 Installation 16
4.2 Execution of the project 16
4.3 Front-end Code 17
4.4 Back end code 18
4.5 SQL Queries 19
5. Interpretation of Result 21
5.1 Result output 24

6. Conclusion and Future Scope 26


7. References 27

5
FIGURE PAGE NO

9
Fig 1.1 Increase in gym membership due to online courses

12
Figure 3.1: Schema Diagram

Figure 3.2: ER Diagram 15

Fig 5.1 Login screen 22

Fig 5.2 Sign up screen 23

Fig 5.3 Home page 23

24
Fig 5.4 Booking history page

Fig 5.5 Booking done Successfully 24

25
Fig 5.6 Categories for sessions

Fig 5.7 Packages types 25

Fig 5.8 Managing packages 25

Fig 5.9 New bookings page 26

Fig 5.10 All bookings page 26

Fig 5.11 Registration history 26

6
Page No.
Table 3.1 Table Structure for user table 3
Table 3.2 Table Structure for trainer table 5
Table 3.3 Table Structure for session table 7
Table 3.4Table Structure for transaction table 7

7
Gym website

CHAPTER 1
INTRODUCTION
Gym websites are platforms that allow individuals to access gym information and for
the admin side to manage users and their trainers. These systems are designed to
increase accessibility and convenience for fitness enthusiasts, as they eliminate the need
for people to physically go to a gym and know about their deals. Gym websites can be
used in a variety of contexts, including gym promotion, providing different health
related classes. The use of the Gym website has the potential to increase gym fitness
enthusiasts, as well as reduce the cost and logistical challenges of traditional promoting
methods and gaining information.

The gym website is an online platform for managing employees and users. It aims to
increase accessibility and convenience for fitness enthusiasts, as they eliminate the need
for people to physically go to a gym and know about their deals.
Cult is widely regarded as a pioneer in the use of gym websites and apps, having
implemented e-fitness across the world. Despite the success of cults online platforms,
relatively few gym companies have attempted to implement similar systems

Fig 1.1 Increase in gym membership due to online courses

8
Gym website

As can be seen in Fig 1.1, Cult’s implementation of online fitness has brought an increase
in people doing health courses online due to its convenience.
1.1 Objectives
The specific objectives of the project include:

❖ To design and develop an online platform for gym classes and manage users.

❖ To increase accessibility and convenience for members by allowing them to have


online classes and maintain health.

❖ To ensure the progress of the users according to their classes.

❖ To explore the potential and limitations of online fitness courses.

1.2 Scope of the project


The gym website project is focused on the design and development of an online platform
for managing gyms and classes. The platform will provide a range of features and
capabilities, including user registration using email IDs and login, taking online classes,
and viewing previous and upcoming classes and deals, the results of completed courses
and members progress.

In addition to these core functions, the gym website project will also prioritize the
security and integrity of the voting process, as well as the confidentiality of individual
members. These issues are critical to the success and credibility of any online classes, and
will be carefully considered in the design and implementation of this platform.

9
Gym website

CHAPTER 2
SYSTEM REQUIREMENTS
The system requirements for a project outline the necessary hardware and software
resources for development, deployment, and operation. It is important to carefully
consider and plan for the system requirements of a project, as the wrong choices can lead
to performance issues, compatibility problems, or other issues that can impact the success
of the project.

2.1 Hardware Requirements


Server-side requirements include:
● Minimum dual core CPU, recommended quad core or above
● Minimum 8GB RAM
● 20GB Hard Drive Space

Client-side requirements are any device that is capable of connecting to the internet and
running a web browser.

2.2 Software Requirements


Server-side software requirements are:
● Html : HTML is the foundational language used to create the structure
and content of web pages.

● CSS: CSS is a style sheet language that complements HTML by controlling the visual
presentation of web pages.

● XAMPP: XAMPP is a free, open-source software package that includes a web


server, PHP, and MySQL. It is often used for web development and testing, and
can be installed on a server or local machine.

Client-side software can run on any device that supports an internet connection and a
web browser.

10
Gym website

CHAPTER 3
DESIGN
The design chapter of this project report outlines the process and considerations that went
into the design of the project. This includes the identification of design goals and
objectives, the collection and analysis of data, the development of the system or product
design, and the validation and testing of the design. The design chapter provides a
comprehensive understanding of the project's design, and is based on established
principles and practices.
3.1 Schema Diagram
The schema diagram is a visual representation of the structure and relationships of the
database used in the gym website project. It illustrates the tables, columns, and
relationships between the different elements of the database, and provides a clear
overview of the organization and layout of the data. The schema diagram is an important
tool for understanding the underlying data model of the gym website project, and for
identifying the relationships and dependencies between different data entities.

Figure 3.1: Schema Diagram

11
Gym website

As can be seen in Fig 3.1, the database contains six tables, namely –
member,trainer,session,transaction. Of these tables, the transaction and session table
cannot be edited by the user through the website. The transaction table also cannot be
tampered by the admin, ensuring confidentiality.

foreign key user_id varchar

name varchar

phone number varchar

candidate key email varchar

password varchar

place varchar

age int

Table 3.1 Table Structure for user table

The user table contains the details of the registered user. The name phone number, email,
password (Encrypted), age, Date of Birth, user ID all have their own Regex built into the
front end which will allow the user to only register if the information matches proper
Regular expressions, like for user id, the normal format is which is 4 number.

Trainer

primary key trainer_name varchar

trainer_id varchar

session varchar

place varchar

class type varchar

Table 3.2 Table Structure for trainer table

12
Gym website

The trainer table stores the details of each trainer, with the session id being the trainers
Aadhar number. Their details can be added by the admin with the session schedule.

Session

primary key session name varchar

session price int

session duration varchar

description varchar

start date date

Table 3.3 Table Structure for session table

The session table stores the details of the session that are upcoming, completed or ongoing.
The description of the [Link] status is changed based on startDate using a stored
procedure.
The package table stores the package details , package names . The user id and trainer id are
primary keys and link to their tables session and transaction. This table cannot be accessed by
the admin or the user, only accessed by the user to add their package.

Transaction

foreign key member_id varchar

session_name varchar

key payment mode varchar

status varchar

Table 3.6 Table Structure for result table

13
Gym website

The transaction table is the only table that is not accessible by user or admin. This stores
the result of each completed election and each candidate.

3.2 ER Diagram

The Entity Relationship (ER) diagram is a visual representation of the data model of the
eVoter project. It illustrates the entities, attributes, and relationships between the different
elements of the data model, and provides a clear overview of the organization and
structure of the data. The ER diagram is an important tool for understanding the
underlying data model of the eVoter project, and for identifying the relationships and
dependencies between different data entities. In the following sections, we will examine
the ER diagram in detail and discuss the design and implementation of the data model.

Figure 3.2: ER Diagram

14
Gym website

Below is the description of each entity and the relationships


● The users table represents the users in the gymCo system. It has a primary key
user_id, which is a unique identifier for each candidate, their number. The table
also includes information about the user's name, address, age,city, and introduction
details,age,city.
● The session table represents the elections in the gymCo system. It has a primary
key session_id, which is a unique identifier for each session. The table also
includes information about the session's name, start and end dates, duration,
description, and whether it is currently active.
● The session table represents the relationship between sessions and candidates. It
has primary keys session_id and user_id, which are foreign keys that reference
the respective primary keys.
● The trainer table represents the users of the eVoter system. It has a primary key
trainer_id, which is a unique identifier for each trainer, their trainer ID number.
The table also includes information about the trainers name, phone number, email.
● The transaction table represents the transactions of the system. It has primary
keys session_id and user_id, which are foreign keys that reference the respective
primary keys. The table also includes the date of the ending of the session, the
number of registrations received by each user.

15
Gym website

CHAPTER 4
IMPLEMENTATION
The implementation section of this project report outlines the steps and processes
involved in the development and deployment of the eVoter project. This includes the
selection and configuration of tools and technologies, the design and coding of the
system, the testing and debugging of the system, and the deployment of the system to a
production environment. The implementation chapter provides a detailed description of
the project's implementation, and documents the challenges and successes encountered
during the development process.

Installation

To install and run the program successfully, follow the steps below:

■ Install VSCode from [Link]


■ Install PHP from [Link]
■ Download the program from given source or from the given GitHub link below
[Link]
■ Install xampp from [Link]

○ Execution of the project


To execute the project, first start the Xampp server, run Apache and MySQL, then run the
below commands in the terminal:

[Link] the zip file

[Link] the file and copy gym folder

[Link] inside root directory(for xampp xampp/htdocs, for wamp wamp/www, for lamp var/www/html)

[Link] PHPMyAdmin ([Link]

[Link] a database with name gymdb

[Link] [Link] file(given inside the zip package in SQL file folder)

[Link] the script [Link]

16
Gym website
Front-end Code : code snippet

17
Gym website

BACKEND : code snippet

18
Gym website

CSS PART : code snippet

19
Gym website

SQL : code snippet

20
Gym website

CHAPTER 5
INTERPRETATION OF RESULT
This chapter presents the findings of the eVoter project and discusses the results of the
completed project. This includes a collection of snapshots of the output and an analysis of
the results, the implications and conclusions.
5.1 USER LOGIN

Fig 5.1 Login screen

The above figure 5.1 depicts the login screen. Here the user can login with their email
address and password. If they have forgotten the password, they can press the forgotten
password and receive their password in the email. They can press “Don’t have an
account? Sign Up” link to sign up. Entering the wrong email or password prompts with an
alert error. If the email does not match a normal email password, or the password is
empty, the text field lights up in red and shows an error message. After clicking sign in,
the user is taken to the home page based on two conditions, if there is a user and the
details are correct. If they are admin, they are taken to the admin homepage.

21
Gym website

Fig 5.2 Sign up screen

In the above Fig 5.2, the user can sign up with their details. The user ID and email need to be
unique so that the user can register. The password needs to be between 6 and 16 characters and
have one number and one uppercase letter at the very least. If any error regarding the format of
input such as user ID not having the format [0123], the box lights up in red and displays a
helper text to the user as shown in below Fig 5.3. Once all the details have been entered the
user will be directed to the home page.

Fig 5.3 Home page

22
Gym website

As shown in the above Fig 5.4, The home page contains an app bar which can be
expanded to show the sections in the website. The Active Elections page shows the
election details and the link to vote if the user has not voted yet. The user can change to
dark mode or logout.

Fig 5.4 Booking history page

Fig 5.5 Booking done Successfully


The above Figures 5.5 and 5.6 show the votes page where the user is shown election details and
the candidates. The user can select one candidate by clicking the radio button and vote, upon
which the vote is registered and the vote link for that user and election is disabled.

23
Gym website

Fig 5.6 Categories for sessions

Fig 5.7 Packages types

Fig 5.8 Managing packages


24
Gym website

Fig 5.9 New bookings page

Fig 5.10 All bookings page

Fig 5.11 Registration history


25
Gym website

CHAPTER 6
CONCLUSION AND FUTURE SCOPE
The gym website project is a platform for conducting online classes and managing
sessions and gym processes. These systems are designed to increase accessibility and
convenience for fitness enthusiasts, as they eliminate the need for people to physically
go to a gym and know about their deals. Gym websites can be used in a variety of
contexts, including gym promotion, providing different health related classes. Through
the use of advanced technologies such as CSS,PHP and MySQL, the Gymco project
provides a secure and efficient platform for conducting different fitness classes. The
use of automated result calculation by stored procedures prevents tampering of the
result outcomes. Overall, the gym website project represents a significant step forward
in the field of online fitness training, and has the potential to transform the way that
fitness classes are conducted in the future.
Future scope:
There are several areas in which the gymCo project could be further developed and
improved in the future. Some potential areas for future work include:
● Integration with other systems: The gymCo project could be integrated with
other systems, such as online classes with live and recorded sessions for
clients.
● Enhanced security measures: The gymCo project could incorporate additional
security measures to ensure the integrity and confidentiality of the users. This
may include measures such as cryptographic protocols, biometric
authentication.
● Improved user interface: The gymCo project could be enhanced with a more
user-friendly and intuitive interface to improve the experience of clients and
admins. This may involve redesigning the layout and navigation of the
platform, or adding new features such as real-time updates or personalized
recommendations.
● Expanded functionality: The gymCo project could be expanded to support a
wider range of fitness attributes.
Overall, the gymCo project has significant potential for future development and
expansion, and there are many opportunities to build upon its current
capabilities to create a more sophisticated and effective platform for online
classes.

26
Gym website

REFERENCES
1. [Link]
2. [Link]
3. [Link]
4. [Link]
5. [Link]
6. [Link]
7. [Link]
8. [Link]
9. [Link]
10. [Link]
11.[Link]
%20is,relationships%20between%20the%20data%20values.
12.[Link]
)%20is,relationships%20between%20the%20data%20values.

27
28
29
30
[1]

31

You might also like