Project Documentation 2
Project Documentation 2
A PROJECT REPORT
Submitted to
Department of Computer Application
Divya Gyan College
Submitted by
Abin Tamang (Exam Roll No: 75102111)
Riyaz Shrestha (Exam Roll No: 75102137)
July, 2024
Supervisor’s Recommendation
I hereby recommend that this project prepared under my supervision by Mr. Abin Tamang
(Exam Roll No: 75102111) and Mr. Riyaz Shrestha (exam Roll No: 75102137) entitled
“FITMANAGE HUB (GYM MANAGEMENT SYSTEM)” in partial fulfillment of the
requirements of Fourth Semester (Project I) for the degree of Bachelor of Computer
Application is recommended for the final evaluation.
……………………
SIGNATURE
Mrs. Annu Khanna Nakarmi
SUPERVISOR
Department of Computer Application
Divya Gyan College
Kamaladi Mod, Kathmandu, Nepal
i
Tribhuvan University
Faculty of Humanities and Social Sciences
Divya Gyan College
LETTER OF APPROVAL
This is to certify that this project prepared by Mr. Abin Tamang (Exam Roll No: 75102111)
and Mr. Riyaz Shrestha (Exam Roll No: 75102137) entitled “FITMANAGE HUB (GYM
MANAGEMENT SYSTEM)” in partial fulfillment of the requirements of Fourth Semester
(Project I) for the degree of Bachelor in Computer Application has been evaluated. In our
opinion it is satisfactory in the scope and quality as a project for the required degree.
ii
Acknowledgement
We are immensely grateful to everyone who contributed to the completion of this project.
Firstly, we extend our heartfelt thanks to Divya Gyan College for providing us with
invaluable resources, unparalleled guidance, and an enriching learning environment. It is
through their unwavering support that we were able to delve into our research and acquire
knowledge that shaped the project's outcomes.
Our gratitude extends to our esteemed project coordinator, Mrs. Annu Khanna Nakarmi,
whose constant support and insightful guidance played a pivotal role in steering this project
towards success. Her wisdom and astute feedback significantly influenced the direction and
development of our work, for which we are deeply thankful.
We owe a profound debt of gratitude to our instructors and mentors. Without their tireless
efforts and encouragement, navigating through the complexities of this project would have
been an insurmountable challenge. Their steadfast support fueled our determination to strive
for excellence.
We also thank our friends for their understanding, encouragement, and belief in us, making
the project's challenges easier to overcome.
Lastly, we express our deepest gratitude to our families. Their love, patience, and support
sustained us through every stage of this project, giving us the strength to persevere.
In conclusion, we sincerely thank everyone who contributed to this project. Your help and
encouragement have been invaluable, and we are truly grateful for this opportunity.
Your sincerely,
Abin Tamang
Riyaz Shrestha
iii
Abstract
iv
Table of Contents
Supervisor’s Recommendation...................................................................................................i
LETTER OF APPROVAL.........................................................................................................ii
Acknowledgement....................................................................................................................iii
Abstract.....................................................................................................................................iv
Chapter 1: Introduction..............................................................................................................1
1.1 Introduction:................................................................................................................1
1.2 Problem Statement:.....................................................................................................1
1.3 Objectives:..................................................................................................................2
1.4 Scope and Limitations:................................................................................................2
1.4.1 Scopes:.................................................................................................................2
1.4.2 Limitations:..........................................................................................................2
1.5 Report Organization:...................................................................................................2
Chapter 2: Background Study and Literature Review...............................................................3
2.1 Background Study.......................................................................................................3
2.2 Literature Review........................................................................................................3
Chapter 3: System Analysis and Design....................................................................................5
3.1 System Analysis..........................................................................................................5
3.1.1 Requirement Analysis..........................................................................................5
3.1.2 Feasibility Analysis..............................................................................................6
3.1.3 Data Modeling.....................................................................................................8
3.1.4 Process Modeling.................................................................................................9
3.2 System Design...........................................................................................................12
3.2.1 Architectural Design..........................................................................................12
3.2.2 Database Schema Design...................................................................................13
3.2.3 Interface Design.................................................................................................14
3.2.4 Physical DFD.....................................................................................................17
Chapter 4: Implementation and Testing...................................................................................18
4.1 Implementation.........................................................................................................18
4.1.1 Tools Used.........................................................................................................18
4.1.2 Implementation of Module................................................................................19
v
4.2 Testing.......................................................................................................................23
4.2.1 Test Case for Unit Testing..................................................................................23
4.2.2 Test Case for System Testing.............................................................................27
Chapter 5: Conclusion and Future Recommendation..............................................................29
5.1 Lesson Learnt and Outcome.....................................................................................29
5.2 Conclusion.....................................................................................................................29
5.3 Future Recommendations..............................................................................................30
Appendices..............................................................................................................................31
References................................................................................................................................42
vi
List of Figures
Fig 3.1: Use Case Diagram of FitManage Hub.........................................................................5
Fig 3.2: Gantt Chart of FitManage Hub.....................................................................................7
Fig 3.3: ER Diagram of FitManage Hub...................................................................................8
Fig 3.4: Context Level Diagram of FitManage Hub..................................................................9
Fig 3.5: Level 1 DFD of FitManage Hub................................................................................10
Fig 3.6: Level 2 DFD of FitManage Hub................................................................................11
Fig 3.7: Architectural Design...................................................................................................12
Fig 3.8:Database Schema Diagram of FitManage Hub...........................................................13
Fig 3.9: User Sign Up Page.....................................................................................................14
Fig 3.10: New Member Registration Page..............................................................................15
Fig 3.11: Admin Dashboard.....................................................................................................15
Fig 3.12: Trainer Dashboard....................................................................................................16
Fig 3.13: Customer Dashboard................................................................................................16
Fig 3.14: Physical DFD of FitManage Hub.............................................................................17
vii
List of Tables
Table 4.1: User Registration and Authentication Test Cases...................................................23
Table 4.2: To-Do Task Test Cases............................................................................................24
Table 4.3: Admin Panel Test Cases..........................................................................................25
Table 4.4: Trainer Panel Test Cases.........................................................................................26
Table 4.5: System Test Cases...................................................................................................27
viii
List of Abbreviations
ix
Chapter 1: Introduction
1.1 Introduction:
The FitManage Hub project is a user-friendly website designed to help gyms digitize the
system and improve their efficiency in managing various aspects of their operations. This
innovative system aims to simplify gym management by providing a centralized platform for
managing customer information, tracking memberships, and overseeing facilities and
equipment.
In terms of customer information management, FitManage Hub offers an intuitive interface
for storing and accessing essential details about gym members. This feature allows gym staff
to quickly retrieve member information, such as contact details, membership status, and
payment history, ensuring smooth interactions and personalized services. By streamlining
this process, the system not only enhances operational efficiency but also fosters a more
member-centric approach within gym facilities.
In summary, FitManage Hub is a powerful Gym Management System that combines
customer information management, progress tracking, and equipment oversight into a single,
user-friendly platform. By leveraging this system, gyms can significantly reduce paperwork,
enhance operational efficiency, improve record-keeping accuracy, and deliver an exceptional
member experience.
1
1.3 Objectives:
The main objectives of my system include:
To create Gym Management System that allows user to create an account, select
different services and get personalized training plans.
1.4.2 Limitations:
Initial Implementation Challenges
Dependency on Technology
Cost of Implementation and Maintenance
2
Chapter 2: Background Study and Literature Review
The existing system is a manual system. Here the member needs to save his information in
the Registers maintained by the Gym. There is no sharing is possible if the data is in the form
of paper. The manual system gives very less security for saving data; some data may be lost
due to mismanagement. It’s a limited system and less users friendly. Searching of particular
information is very difficult and takes lot of time. It is very difficult to maintain records
manually as manual systems are more prone to errors and data loss. To overcome this
drawback the Gym Management Software is introduced which gives computerization of the
existing system is proposed. The new system must completely remove all manual burdens
and provides efficient on the entry system [1].
The system's goal is to help users by managing the different types of data and information
produced during regular gym operations. The front-end interface's web pages are
3
dynamically generated by JSP in the architectural mode, which adheres to the
Browser/Server paradigm. MySQL database tables are utilized to store data, and Eclipse is
the programming environment [2].
It is an online service that can be setup for gym to help manage classes memberships, receive
payments, keep track with detailed statistics, customer management, surveys and it even has
an online store so gym can sell products to customers. Gym Management Application
provides lots of functions such as data entry of customer, keeping records of all the things
about customer’s fees, plans and physical fitness which helps to provide good quality of
services to customer from the gym manager [3].
The main focus of our suggested system is to create a system that helps the gym owner/
administrator manage all the aspects of the gym more efficiently. At the login page,
administrators can login, along with the staff members and the client. Whenever an
administrator logs in to the system, they will be able to view profit margins, monitor losses
with utmost precision. They would also be able to see the list of registered members, the
daily tasks of the registered members, announcements where they can either send
announcements to all the registered members at once or see the current announcements and
even schedule announcements. The administrator will be able to view analytics and graphs of
various data in the dashboard. For example, they will be able to see graphs for earnings,
expenses, registered gym member overview by gender, staff members overview by
designation, etc. [4].
In the present time every person wants the information in online form so that they can access
the information the information at anytime and anywhere. This website helps the most for
gym users as they can access the information at anywhere. No paper work is needed for the
admin to remember all the information of gym users. Mainly every user always finds the
privacy and security because the privacy is major concern. So, the online gym management
system will not reveal any personal data to any unknown user. Hence the system saves the
time and cost for every user. So, this system is flexible to adapt further changes [5].
4
Chapter 3: System Analysis and Design
1.8 System Analysis
1.8.1 Requirement Analysis
i. Functional Requirements:
There are three actors in this system:
Admin: Adding, Updating and Retrieving training plans, class schedules,
staff and members information.
Trainer: Updating progress reports, members information, training plans and
class schedules.
Member: Retrieve progress reports, class schedules and training plans.
5
ii. Non-Functional Requirements:
6
iv. Schedule Feasibility:
We've set up a clear project timeline, breaking down tasks into manageable
phases. A Gantt chart visually guides us, and we've made sure our resources,
including time and team members, are allocated efficiently.
Our project started from 12th Mangsir and takes at least 12-16 weeks
Weeks
1 2 3 4 5 6 7 8 9 10 11 12 13
Problem Definition
Requirement Identification
Analysis
Design
Testing
Documentation
7
1.8.3 Data Modeling
8
1.8.4 Process Modeling
i. Context Level Diagram/ Level 0 DFD:
9
ii. Level 1 DFD:
10
iii. Level 2 DFD:
11
1.9 System Design
1.9.1 Architectural Design
Architectural Design entails the systematic identification of a system’s constituent
sub-systems and the establishment of a framework governing the control and
communication among these sub-systems.
12
1.9.2 Database Schema Design
13
1.9.3 Interface Design
Interface design, often referred to as user interface (UI) design, encompasses the procedure
of crafting the visual arrangement and interactive components within a digital product, which
can include websites, mobile applications, or software programs. Its goal is to enhance the
user's experience by ensuring that their interaction with the product is straightforward,
efficient, and pleasurable.
14
Fig 3.10: New Member Registration Page
15
Fig 3.12: Trainer Dashboard
16
1.9.4 Physical DFD
17
Chapter 4: Implementation and Testing
1.10 Implementation
Implementation mainly refers to the stage of system development. First, we examined,
analyzed, and put a system for users in place using all the data we collected. One of the most
crucial stages of any project is this one. Coding, testing, installation, documentation, training,
and support are typically included in implementation.
i. Programming Languages:
HTML (Hyper-Text Markup Language): HTML is used in out project as
HTML is universally supported by all web browsers, ensuring consistent
rendering of web pages across different devices and platforms.
CSS (Cascading Style Sheets): CSS is used in our project as CSS enhances the
visual appeal and user experience of the web pages by providing a consistent and
attractive design.
JavaScript (JS): JS is used in our project because JavaScript improves the user
experience by making web pages more interactive and responsive to user actions.
PHP: We have used PHP for server-side scripting because PHP allows for the
creation of dynamic web pages that can display different content based on user
interactions or other inputs and can easily integrate with various databases,
making it ideal for developing data-driven applications and websites.
18
ii. Integrated Development Environment (IDE):
VS Code (Visual Studio Code): VS Code is used as text-editor in our project
because it is a free source code editor with robust features, extensions and a
powerful debugger for coding in HTML, CSS, JS and PHP.
iii. Database:
MySQL: We have used MySQL for database as it is an open-source relational
database management system used for storing and managing structured data and it
is also reliable, scalable and easy to use.
iv. UI/UX Design:
Figma: To design UI/UX of our project we have used Figma as it is a cloud-based
designing tool that allows collaborative designs, prototyping and it also allows
designers to work together in real-time, creating visually appealing and user-
friendly designs.
v. Diagrams:
Draw.io: To create various diagram for documentation we have used darw.io
which is a free online diagramming tool with wide ranges of templates, shapes for
creating diagrams like ER Diagram and DFD diagrams.
vi. Version Control System:
GitHub: For code sharing and version controlling, we have used GitHub because
it enables collaborations and allows multiple developers to work on a project
simultaneously, and helps in managing different versions of code.
19
Register Form: The register form allows new members of the gym to register by
creating an account by providing member information. Implementation involves
form validation, member data storage and creation of member profile upon
successful registration.
Log-In Form: The login form is a key element that allows registered members to
access their account. It includes fields for entering a username and password and
upon successful login the user is redirected to the dashboard. Implementation
involves creating the UI for the form, validating user credentials, and establishing
a secure authentication process
To-Do List Page: To-Do list page allows the members to add the list of exercises
that they need to do and mark out the completed exercise and remove the exercise
after completion.
Training Plan Page: Training Plan Page allows the members to get personalized
training plans created by their trainer and track their progress. For this, google
sheets has been integrated into the system.
Announcement Page: Announcement Page allows the members to view all the
announcements made by the admin.
Reports Page: Reports Page provides the members with their progress report
which includes their progress from initial weight to current weight and
membership report that shows the status of their membership.
Logout Function: The Logout Page allows members to securely logout of their
accounts. The implementation involves terminating the member’s current session,
revoking access tokens, and ensuring that the member is no longer authenticated
20
ii. Trainers Module: The trainers modules comprise of various function to manage
different aspects of the gym such as managing member’s progress, handling payments
and managing member’s reports. It includes functions such as:
Login Form: The Login Form provides a secure authentication mechanism
for trainers. Trainers enter their credentials, such as username and password to
gain access to the trainer’s dashboard. Successful authentication redirects
them to the trainer’s dashboard.
Member’s Progress Page: Member’s Progress Page allows the trainers to
update the weight of each member which helps to track the progress of the
members. Trainer inputs initial weight and current weight that shows the
member’s progress.
Member’s Status Page: Member’s Status Page allows the trainers to view the
status of each member like active and inactive.
Search Function: Search allows the trainer to input different query such as
member’s name, service taken and status of the member for quick and precise
results.
Add Training Plan Page: Add Training Plan page allows the trainers to add
personalized training plans for each member. Trainer uploads the google
sheets link and member can view and update the training plans.
Payment Page: Payment Page allows the trainer to send alert to the members
whose membership is expired and make payment and generate bills of each
member.
Reports Page: Reports Page provides the trainers with the progress report of
each member which includes their progress from initial weight to current
weight and membership report that shows the status of their membership.
Logout Function: Logout Function allows trainers to securely logout of their
accounts. The implementation involves terminating the trainer’s current
session, revoking access tokens, and ensuring that the trainer is no longer
authenticated.
21
iii. Admin Module: The admin modules comprise of various function to manage
different aspects of the gym such as managing member, staffs, and equipment,
members handling payments and managing member’s reports. It includes functions
such as:
Login Form: The Login Form provides a secure authentication mechanism
for trainers. Admin enter their credentials, such as username and password to
gain access to the admin’s dashboard. Successful authentication redirects them
to the admin’s dashboard.
Manage Member Page: Manage Member Page allows the admin to add new
members, view all registered members, update the member’s information and
delete the member’s information.
Manage Staff Page: Manage Staff Page allows the admin to add new staffs,
view all staffs, update the staff’s information and delete the staff’s
information.
Manage Equipment Page: Manage Equipment Page allows the admin to add
new equipment information, view record of all equipment, update the
equipment’s information and delete the equipment’s information.
Member’s Progress Page: Member’s Progress Page allows the admin to
update the weight of each member which helps to track the progress of the
members. Admin inputs initial weight and current weight that shows the
member’s progress.
Member’s Status Page: Member’s Status Page allows the admin to view the
status of each member like active and inactive.
Search Function: Search allows the admin to input different query such as
member’s name, service taken and status of the member for quick and precise
results.
Payment Page: Payment Page allows the admin to send alert to the members
whose membership is expired and make payment and generate bills of each
member.
22
Reports Page: Reports Page provides the admin with the progress report of
each member which includes their progress from initial weight to current
weight and membership report that shows the status of their membership.
Logout Function: The Logout allows admin to securely logout of their
accounts. The implementation involves terminating the admin’s current
session, revoking access tokens, and ensuring that the admin is no longer
authenticated.
1.11 Testing
1.11.1 Test Case for Unit Testing
Unit testing is a foundational practice within software development, focusing on the
examination of discrete code components or units in isolation to confirm their proper
operation.
23
3. Authentication User Authentication Authentication PASS
Failure provides fails, and an fails, and an
incorrect error message is error message is
login displayed. displayed.
credentials.
1. Add To-do Member Task gets added Task gets added PASS
Task enters task and displayed in and displayed in
and status member’s member’s
(pending, dashboard dashboard
completed)
2. Update To- Member Member’s Task Member’s Task PASS
do Task clicks on edit are edited and are edited and
icon and changes are changes are
edits the reflected reflected
tasks
3. Delete Tasks Member Member’s task Member’s task PASS
clicks on gets removed gets removed
delete button from the list from the list
24
Table 4.3: Admin Panel Test Cases
25
Table 4.4: Trainer Panel Test Cases
26
1.11.2 Test Case for System Testing
System testing is a type of software testing that evaluates the overall functionality and
performance of a complete and fully integrated software solution.
27
assigned to members members
member’s
7. Verify that Member Searched Searched PASS
search field username member is member is shown
allows shown
admin/trainer to
search members
8. Verify that Member’s Progress is Progress is PASS
member’s initial and updated and updated and
progress can be current weight displayed displayed
updated
9. Verify that Admin clicks Member details Member details PASS
member can be delete button is removed from is removed from
deleted database database
10. Verify that Training plan Training plan is Training plan is PASS
training plans link added and added and
can be added by displayed in displayed in
trainers member’s member’s
dashboard dashboard
28
Chapter 5: Conclusion and Future Recommendation
1.12 Lesson Learnt and Outcome
Lesson Learnt:
Outcome:
The "FitManage Hub" project successfully developed an online platform that efficiently
manages gym staff, members, and equipment. Admins can manage equipment inventory, add
customers, view details of both customers and staff, and monitor member status. The admin
panel provides an overview of member status, earnings, and announcements, along with
graphs categorizing members by gender, status, and chosen services. Staff can track their
clients' progress and upload personalized workout routines. Members can edit their to-do
lists, view announcements, and access their workout routines on their dashboards. They can
also monitor their progress and update their routines using a provided Google Sheet.
5.2 Conclusion
In summary, "FitManage Hub" is a web application that simplifies record-keeping for gyms,
including equipment, staff, customer records, personal plans, and workout routines. It stands
out by allowing trainers to assign unique workout routines to individual members based on
their physique and goals, making it easier for users to follow and update their progress. This
helps maintain detailed records for each client and makes the platform more engaging for
daily use. The project documentation details the development process, technical aspects, and
29
challenges faced. FitManage Hub aims to streamline the assignment of personalized workout
routines and progress tracking, with a simple interface that encourages members to stay
motivated and healthy.
30
Appendices
31
Figure 3: Registered Members List
32
Figure 5: Equipment List Page
33
Figure 7: Member's Progress Page
34
Figure 9: Payment Page
35
Figure 11: Announcement Form
36
Figure 13: Staff Registration Form
37
Figure 15: Trainer's Dashboard
38
Figure 17: Training Plan Upload Page
39
Figure 19: Add To-do List Page
40
Figure 21: Announcements Page
References
41
[1] P. K. M. K. P. G. S. A. M. P. N. B. Pathan Shahebaz Khan Feroz Khan, "Gym
Management System," International Journal of Trend in Scientific Research and
Development (IJTSRD), 2022.
[2] F. W. X.-f. Z. Dong Zhao, "Design and Implementation of Gym Management System
Based on Web," Atlantis Press, 2023.
42