Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 43

1

A
Project Report
on
Gym Management System

Submitted to
Savitribai Phule Pune University
In the partial fulfilment of the requirement of the award of the degree
of
Bachelor of Business Administration (Computer Application)

Academic Year –2023-24

By
Sayali Satish Shinde

Under the guidance of

Prof. Varsha A. Khandagale

2
MODERN COLLEGE OF COMMERCE AND COMPUTER STUDIES

NIGDI, PUNE - 411044

DEPARTMENT OF BBA (CA)

Project certificate

This is to certify that Ms/Mr. Sayali Shatish Shinde Roll no. has
satisfactorily completed the project in java as per the syllabus laid down by the
UNIVERSITY OF PUNE for F.Y/S.Y/T.Y.BBA (CA) during the academic year 2023 -
2024

Project Guide Principal

Internal Examiner External Examiner

3
DECLARATION

We hereby declare that this project work entitled GYM MANAGEMENT


SYSTEM submitted at PES's Modern Collage of Commerce and Computer
Studies Nigdi, (Affiliated to SPPU) is a record of the original work done by me
under the supervision and guidance of Prof. Varsha A. Khandagale
Department of Computer Application.

Signature : Counter Signed by:

Name of Student : XYZ Project Guide:Prof.Varsha Khandagale

Exam Seat No :

Place : Nigdi , Pune Date :

4
ACKNOWLEDGEMENT
I thank to express my sincere gratitude to Prof. Varsha A. Khandagale for his/her
inspiration, constructive suggestions and affectionate guidance in my project work
completion. It is my proud privilege to express my profound gratitude to for her astute
guidance, constant encouragement, and sincere support throughout my academic course.

Last but not least, I express my sincere thanks to all my dear friends and family members for
their constant motivation , moral support, and invariable direction throughout my life.

5
INDEX
SR.NO CONTENT PAGE
NO

1 INTRODUCTION 8-10
1.1 Company Profile
1.2 Existing System and Need for System
1.3 Scope of Work
1.4 Operating Environment-Hardware and Software
2 PROPOSED SYSTEM 12-14
2.1 Proposed System
2.2 Objectives of System
2.3 User Requirements
3 SYSTEM ANALYSIS AND DESIGN 16-20
3.1 Object Diagram
3.2 Entity Relation Diagram
3.3 Data Flow Diagram
3.4 Class Diagram
3.5 Use Case Diagram
4 USER MANUAL 22
4.1 User Manual

4.2 Operations Manual/Menu Explanation

4.3 Program Specifications/Flow Charts

5 DRAWBACKS AND LIMITATIONS 24-28


6 PROPOSED ENHANCEMENT 30
7 CONCLUSION 32
8 BIBLIOGRAPHY 34
ANNEXURE 1: User Interface Screens
ANNEXURE 2: Output Reports with Data
ANNEXURE 3 : Sample Program Code

6
CHAPTER 1
INTRODUCTION

7
Company Profile
We have done a project on Gym Management and database management and
transactions. This system is proposed to be an automate database management &
transactions. This stores employee, member, payroll, receipts, and products
information. It also provides the facility of search & advanced search for searching the
records efficiently & immediately. This system provides data storing & report
generation with graphical user interface (GUI).

Existing System
The gym is working manually. The current system is time consuming and also it is very
costly, because it involves a lot of paperwork. To manually handle the system was very
difficult task. But now-a-days computerization made easy to work.
The following are the reasons why the current system should be computerized:
 To increase efficiency with reduced cost.
 To reduce the burden of paper work.
 To save time management for recording details of each and every member and
employee.
 To generate required reports easily.

Scope of Work:

This system helps the Owner and Admin to maintain large data about users and their
daily transactions in the gymnasium. Also, suitable for users for automated attendance
and online profile. Our Gymnasium Management System is the best option for it.
The limitations may be many and the magnitude of the influence of these limiting
factors may have a bearing on the report, but it in no way alters the ultimate aim of the
project and because it’s highly USER FRIENDLY, it would be the choice of all kinds
of personnel.

Operating Environment-Hardware and Software

Hardware Resources:
Hardware Requirements (Minimum):
Dual-core 1.8 GHz, 4 gig RAM, 10 gig disk space.
Hardware Requirements (Recommended):
Dual-core 2.8 GHz, 8 gig RAM, 10 gig disk space.

Software Resources:
Operating System: Windows 7,8,9,10
IDE’s: Eclipse, NetBeans etc.

8
Detailed Description of Technology Used

In this project I use Adobe’s NetBeans IDE for Coding with java and for storing data
I use Mysql DataBase.

NetBeans IDE:
NetBeans is an integrated development environment (IDE) for Java. NetBeans allows
applications to be developed from a set of modular software
components called modules. NetBeans runs on Windows, macOS, Linux and Solaris.
In addition to Java development, it has extensions for other languages
like PHP, C, C++, HTML5, and JavaScript. Applications based on NetBeans,
including the NetBeans IDE, can be extended by third party developers.

Modularity:
All the functions of the IDE are provided by modules. Each module provides a well-
defined function, such as support for the Java language, editing, or support for
the CVS versioning system, and SVN. NetBeans contains all the modules needed for
Java development in a single download, allowing the user to start working
immediately. Modules also allow NetBeans to be extended. New features, such as
support for other programming languages, can be added by installing additional
modules. For instance, Sun Studio, Sun Java Studio Enterprise, and Sun Java Studio
Creator from Sun Microsystems are all based on the NetBeans IDE.
License:
The IDE is licensed under the Apache License 2.0. Previously, from July 2006
through 2007, NetBeans IDE was licensed under Sun's Common Development and
Distribution License (CDDL), a license based on the Mozilla Public License (MPL).
In October 2007, Sun announced that NetBeans would henceforth be offered under
a dual license of the CDDL and the GPL version 2 licenses, with the GPL linking
exception for GNU Class path. Oracle has donated NetBeans Platform and IDE to the
Apache Foundation where it underwent incubation and graduated as a top level
project in April 2019.

9
MySQL Database
MySQL is an open-source relational database management system (RDBMS). Its name
is a combination of "My", the name of co-founder Michael Widenius's daughter, and
"SQL", the abbreviation for Structured Query Language. A relational database
organizes data into one or more data tables in which data types may be related to each
other; these relations help structure the data. SQL is a language programmers use to
create, modify and extract data from the relational database, as well as control user
access to the database. In addition to relational databases and SQL, an RDBMS like
MySQL works with an operating system to implement a relational database in a
computer's storage system, manages users, allows for network access and facilitates
testing database integrity and creation of backups.
MySQL is free and open-source software under the terms of the GNU General Public
License, and is also available under a variety of proprietary licenses. MySQL was
owned and sponsored by the Swedish company MySQL AB, which was bought by Sun
Microsystems (now Oracle Corporation). In 2010, when Oracle acquired Sun,
Widenius forked the open-source MySQL project to create MariaDB.
MySQL has stand-alone clients that allow users to interact directly with a MySQL
database using SQL, but more often MySQL is used with other programs to implement
applications that need relational database capability. MySQL is a component of
the LAMP web application software stack (and others), which is an acronym
for Linux, Apache, MySQL, Perl/PHP/Python. MySQL is used by many database-
driven web applications, including Drupal, Joomla, phpBB, and WordPress. MySQL is
also used by many popular websites, including Facebook, Flickr, MediaWiki, Twitter,
and YouTube.

10
Java

Java is a programming language created by James Gosling from Sun Microsystems (Sun) in
1991. The target of Java is to write a program once and then run this program on multiple
operating systems. The first publicly available version of Java (Java 1.0) was released in
1995. Sun Microsystems was acquired by the Oracle Corporation in 2010. Oracle has now
the steermanship for Java. In 2006 Sun started to make Java available under the GNU
General Public License (GPL). Oracle continues this project called OpenJDK.

Over time new enhanced versions of Java have been released. The current version of Java is
Java 1.8 which is also known as Java 8. Java is defined by a specification and consists of a
programming language, a compiler, core libraries and a runtime (Java virtual machine) The
Java runtime allows software developers to write program code in other languages than the
Java programming language which still runs on the Java virtual machine. The Java platform
is usually associated with the Java virtual machine and the Java core libraries.

The Java language was designed with the following properties:

• Platform independent: Java programs use the Java virtual machine as abstraction and do
not access the operating system directly. This makes Java programs highly portable. A Java
program (which is standard-compliant and follows certain rules) can run unmodified on all
supported platforms, e.g., Windows or Linux.
• Object-orientated programming language: Except the primitive data types, all elements
in Java are objects.
• Strongly-typed programming language: Java is strongly-typed, e.g., the types of the used
variables must be pre-defined and conversion to other objects is relatively strict, e.g., must
be done in most cases by the programmer.
• Interpreted and compiled language: Java source code is transferred into the bytecode
format which does not depend on the target platform. These bytecode instructions will be
interpreted by the Java Virtual machine (JVM). The JVM contains a so called
HotspotCompiler which translates performance critical bytecode instructions into native
code instructions.
• Automatic memory management: Java manages the memory allocation and de-
allocation for creating new objects. The program does not have direct access to the
memory.
The socalled garbage collector automatically deletes objects to which no active pointer exists.
The Java syntax is similar to C++. Java is case-sensitive, e.g., variables called myValue and
myvalue are treated as different variables

11
CHAPTER 2
PRAPOSED SYSTEM

12
Proposed System
The Gym Management requires a system that will handle all the necessary and minute
details easily and proper database security accordingly to the user. They requires
software, which will store data about members, employees, products, payroll, receipts of
members etc & all transactions that occur in Gym and lock-up with graphical user
interface(GUI).
The Project was made in order to effectively and efficiently cater to requirements of the
fitness center. Very frequently the person who generally holds the tasks to manage the
center needs to keep records of all the transactions as well as data manually . Generally,
In order to structure these tasks Separate Registers are maintained. This whole process
thus becomes quite cumbersome for them to control manually. Moreover, Any wrong
data entered mistakenly can brings serious results.

Objectives of proposed system


The proposed system is managed by the visual basic 6.0, which are user friendly
windows for every user and for maintaining the database Microsoft access is used.
Scope of proposed system:
The system proposed has many advantages.
 The proposed system is highly secured, because for login the system it
requires the username and password which is different for each department
therefore providing each department a different view of the customer
information.
 It provides wide range of certain criteria in each window the client is working
for better and quicker solution.
 It maintains report for all criteria and transactions.
 Manages member information separately for all exercise and
employee information separately for considering the requirements of
gym.
 Stores information about regular products. 6. This system can run on
any windows operating system.

13
CHAPTER 3
SYSTEM ANALYSIS AND DESIGN

14
Use Case diagrams
Apply to
Join

Choose
Option

Trainer
Details

Management
of gym

Member

Approve
request of
member
Manager

Give option
to member

Give salary
to trainer

Set batch
timing

Member
details

15
Trainer

16
Entity Relation diagram

Fig: ER Diagram for Gym Management System

17
Activity Diagram

START Login to gym


Management System

Check Permissions

Check Check Check Check


Permission Permission Permission Permission

Manage Trainer Manage Member Manage Gym Manage Package

Logout Form the END


System

Fig. Activity Diagram For Gym Management System


18
Data Flow Diagram

Package Management

Member
Gym Management
Management

Gym
Management
System

Faculty Management Trainer Management

Login Management

Fig :- Zero Level Data Flow Diagram

19
Fig :- One Level Data Flow Diagram

Gym Management
Generate Gym Report

Gym Branch Generate branch


Management report

Gym shift
Gym Generate package
Management managemen report
t system
Package
Generate shift report Check user login
Management
details

System user
Management
System user
Management

Generate system user


report

20
CHAPTER 4
USER MANUAL

21
1. User Manual

A user guide, also commonly known as a user manual, is intended to assist users in using a
particular product, service or application. It's usually written by a technician, product
developer, or a company's customer service staff.

2. Operations Manual/Menu Explanation

There are four modules in our gym management system project. These modules are as
follows:

1. Login Page The Login Page Mainly Design for Admin Authentication. There are
five swing components we use Ex. jLable, jTextField and jButton. For access of our
system admin need to enter correct username and password. If username and
password fields are empty and admin try’s to login then its shows message like “
Empty Fields not Allow”. If admin enter wrong details it shows message like ”Login
Fail”, else when login details are correct admin get “Login successful” message and
Moves to our Main page.

2. Main Page In Main Page we have two options Register Trainer and Register
Member for registration their data. If you wants to register trainer click on Register
Trainer Button and if you want to register member data then you click on Member
Registration. After this process you goes to Trainer Registration Page or Member
Registration Page.

3. Trainer Registration In this page you have to store details about trainer like trainer
name, trainer age, Trainer address, Join date ,Gender ,mobile no, Email etc into our
database. After successful enter this data you need to click on submit button or if you
not want to submit then click on cancel. If you want to see the record you stored in
out database simply click on “show” button, you gets all the record form database.
For showing database records we use jTable. 14 There are another options like edit
for update the record, delete for delete the specific record ,clear is for clearing input
fields.

4. Member Registration In this page you have to store details about member like
member name, member age, member address, Join date, Birth date ,Gender ,mobile
no, Email etc into our database. After successful enter this data you need to click on
submit button or if you not want to submit then click on cancel. If you want to see the
record you stored in out database simply click on “show” button, you gets all the
record form database. For showing database records we use jTable. There are another
options like edit for update the record, delete for delete the specific record ,clear is
for clearing input fields.

22
3. Program Specifications/Flow Charts

23
CHAPTER 5
DRAWBACKS AND LIMITATIONS

24
4.1 Limitations of existing system:

Time consumption:
As the records are to be manually maintained it consumes a lot of time.
Paper work:
Lot of paper work is involved as the records are maintained in the files & registers
Storage requirements:
As files and registers are used the storage space requirement is increased.
Less reliable:
Use of papers for storing valuable data information is not at all reliable.
Accuracy:
As the system is in manual there are lot many chances of human errors. These can
cause errors in calculating mechanism or maintaining customer details.
Difficulty in keeping new records:
It is difficult for keeping all the new entries of members, their account and transaction
details

25
CHAPTER 6
PROPOSED ENHANCEMENT

26
Proposed Enhancement

The project has a very vast scope in future. The project can be implemented on intranet in
future. Project can be updated in near future as and when requirement for the same arises, as
it is very flexible in terms of expansion. With the proposed software of database Space
Manager ready and fully functional the client is now able to manage and hence run the entire
work in a much better, accurate and error free manner. The following are the future scope for
the project.

 Discontinue of particular student eliminate potential attendance.


 Bar code Reader based attendance system
 Individual Attendance system with photo using Student login

27
CHAPTER 7
CONCLUSION

28
7.1 Conclusion

The “GYM MANAGEMENT SYSTEM” is successfully designed and developed to fulfilling the
necessary requirements, as identified in the requirements analysis phase, such as the system is very
much user friendly, form level validation and field level validation are performing very efficiently.
The new computerized system was found to be much faster and reliable and user friendly then the
existing system, the system has been designed and developed step by step and tested successfully. It
eliminates the human error that are likely to creep in the kind of working in which a bulk quantity
of data and calculations as to be processed. The system results in quick retrieval of information that
is very vital for the progress any organization. Cost is minimized in case of stationary. Burden of
manual work is reduced as whenever transaction takes place, there is a no need to record it in many
places manually.

29
CHAPTER 8
BIBLIOGRAPHY

30
Bibliography

 Programming with Apache NetBeans by Apache Software Foundation


 Software Engineering – A Practitioners Approach 7/e, by Roger S. Pressman.
 System Analysis and Design

 ANNEXURE 1: User Interface Screens

30
31
32
33
 ANNEXURE 2: Output Reports with Data

34
35
36
 ANNEXURE 3 : Sample Program Code
Connection con;
PreparedStatement pst;
DefaultTableModel df;
ResultSet rs;

public void Connect()


{
try {
Class.forName("com.mysql.cj.jdbc.Driver");

con=DriverManager.getConnection("jdbc:mysql://localhost:3306/gymmanagement","root"," ");

} catch (ClassNotFoundException ex) {


Logger.getLogger(Trainer.class.getName()).log(Level.SEVERE, null, ex);
} catch (SQLException ex) {
Logger.getLogger(Trainer.class.getName()).log(Level.SEVERE, null, ex);
}

}
private void LOGINActionPerformed(java.awt.event.ActionEvent evt) {//GEN-
FIRST:event_LOGINActionPerformed
// TODO add your handling code here:

try {
// TODO add your handling code here:

String sql= "Select * from register where USERNAME=? AND PASSWORD=? ";

pst=con.prepareStatement(sql);
pst.setString(1,username.getText());
pst.setString(2,password.getText());

rs=pst.executeQuery();
if(rs.next())
{
JOptionPane.showMessageDialog(null, "Username and Password correct");
mainform obj=new mainform();
obj.setVisible(true);
}
else
{
JOptionPane.showMessageDialog(null, "Username and Password not correct");

37
}

catch (SQLException ex) {


Logger.getLogger(login.class.getName()).log(Level.SEVERE, null, ex);
}

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_jButton1ActionPerformed
// TODO add your handling code here:

if(uname.getText().isEmpty() || pass.getText().isEmpty())
{
JOptionPane.showMessageDialog(this,"Please Enter username and pass");
}
else
{

String username=uname.getText();
String password=pass.getText();

try
{
pst=con.prepareStatement("insert into register(USERNAME,PASSWORD)values(?,?)");

pst.setString(1,username);
pst.setString(2,password);

pst.executeUpdate();
JOptionPane.showMessageDialog(this," Register sucessfully");

uname.setText(" ");
pass.setText(" ");

uname.requestFocus();

catch(Exception e)
{
System.out.println(e);

38
}

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_jButton1ActionPerformed

if(fname.getText().isEmpty() || lname.getText().isEmpty() || age.getText().isEmpty() ||


address.getText().isEmpty() || email.getText().isEmpty() )
{
JOptionPane.showMessageDialog(this," Empty Fields Not Allow");
}
else
{

String firstname=fname.getText();
String lastname=lname.getText();
String tage=age.getText();
String tgender=gender.getSelectedItem().toString();
String mobileno=mobile.getText();
String taddress=address.getText();
String temail=email.getText();
SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
String jdate=sdf.format(date.getDate());

try
{
pst=con.prepareStatement("insert into
trainer(firstname,lastname,age,gender,mobile,address,email,dateofjoin)values(?,?,?,?,?,?,?,?)");

pst.setString(1,firstname);
pst.setString(2,lastname);
pst.setString(3,tage);
pst.setString(4,tgender);
pst.setString(5,mobileno);
pst.setString(6,taddress);
pst.setString(7,temail);
pst.setString(8,jdate);

pst.executeUpdate();
JOptionPane.showMessageDialog(this,"Trainer Register sucessfully");
fname.setText(" ");
lname.setText(" ");
age.setText(" ");

39
mobile.setText(" ");
address.setText(" ");
email.setText(" ");
fname.requestFocus();

catch(Exception e)
{
System.out.println(e);

}
}

private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_jButton4ActionPerformed
// TODO add your handling code here:

try
{

pst=con.prepareStatement("select * from trainer");


ResultSet rs=pst.executeQuery();

ResultSetMetaData rd= rs.getMetaData();


int c;
c=rd.getColumnCount();
df=(DefaultTableModel)jTable1.getModel();
df.setRowCount(0);

while(rs.next())
{
Vector v2=new Vector();

for(int i=1;i<=c;i++)
{
v2.add(rs.getString("id"));
v2.add(rs.getString("firstname"));
v2.add(rs.getString("lastname"));
v2.add(rs.getString("age"));
v2.add(rs.getString("gender"));
v2.add(rs.getString("mobile"));
v2.add(rs.getString("address"));

40
v2.add(rs.getString("email"));
v2.add(rs.getString("dateofjoin"));

}
df.addRow(v2);
}

}
catch(Exception e)
{
System.out.print(e);
}

41
42

You might also like