dbms_completed_report
dbms_completed_report
Submitted by
Ms. S. AARTHI
(Assistant Professor, Department of Computer Science and Engineering)
ENGINEERING
1
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
(Deemed to be University U/S 3 of UGC Act, 1956)
BONAFIDE CERTIFICATE
SIGNATURE
Ms. S. AARTHI, M.E., (Ph.D).,
Assistant Professor
Computer Science and Engineering
SRM Institute of Science and
Technology,
Ramapuram, Chennai.
2
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
RAMAPURAM, CHENNAI
DECLARATION
We hereby declare that the entire work contained in this project report titled “GYM
MANAGEMENT SYSTEM” has been carried out by SRI VIGNESH M
[RA2211003020527], LAKSHMI SRINIVAS B [RA2211003020546], B
SURENDHAR [RA2211003020548] at SRM Institute of Science and Technology,
Ramapuram, Chennai, under the guidance of Ms. S. Aarthi, Assistant Professor,
Department of Computer Science and Engineering.
KARTHIKEYAN M
3
ABSTRACT
4
1 Abstract iv
List of Figures vi
List of Abbreviations vii
Introduction 1
1.1 Introduction 1
1.2 Problem Statement 1
1.3 Objective 1
1.4 Scope and Motivation 2
2 Existing System 4
3 Design 5
3.1 E-R Design 5
3.2 Front End Design 5
4 Proposed Methodology 8
4.1 Module Description 9
4.2 Database Connectivity 10
5 Implementation 11
5.1 Back End Via MongoDB 12
5.2 Front End Via HTML,CSS,JS
7 Conclusion 19
8 References 20
TABLE OF CONTENTS
5
LIST OF FIGURES
3.1 ER DIAGRAM 5
6.4 OUTPUT 18
6
LIST OF ABBREVIATIONS
7
CHAPTER 1
INTRODUCTION
1.1 Introduction:
In the realm of modern data management, Database Management Systems
(DBMS) play a pivotal role in organizing, storing, retrieving, and managing vast
volumes of data efficiently. Relational Database Management Systems
(RDBMS), a subtype of DBMS, are particularly prominent for their ability to
maintain data integrity and facilitate structured querying through the Structured
Query Language (SQL).
1.3 Objective:
The project objective of a Gym Management System using a Database
Management System (DBMS) could be multifaceted, depending on the specific
requirements and goals of the system. Here's a comprehensive list of potential
objectives:
8
Efficient Member Management: Streamline member registration, profile
management, and membership plan tracking to enhance user experience and
facilitate personalized services.
9
and financial performance, supporting strategic planning and business
development.
10
CHAPTER 2
EXISTING SYSTEM
Limited Functionality:
Many existing gym management systems offer only basic functionalities, lacking
features for comprehensive member management, equipment tracking, and
financial management.
Outdated Technology:
Some systems may be built on outdated technology stacks, making them less
efficient, prone to errors, and incompatible with modern integrations and updates.
Lack of Customization:
Pre-packaged solutions may not allow for customization to fit the specific needs
and workflows of individual gyms, leading to inefficiencies and workarounds.
11
CHAPTER 3
DESIGN
12
3.2 Front-End Design:
Designing the front end for a gym management system involves creating a user
interface that is intuitive, visually appealing, and functional. Here's a basic
outline of the front end design for such a system:
Homepage Dashboard: The homepage serves as the dashboard, providing an
overview of key metrics such as total members, upcoming classes, equipment
availability, and financial summaries. It should include quick links to essential
features like member management, scheduling, and financial reports.
Member Management Interface: This section allows staff to manage member
profiles, including registration, updating personal information, viewing
membership plans, and tracking attendance. It should have options for searching
and filtering members based on various criteria.
Equipment Inventory: The equipment inventory interface displays a list of
gym equipment along with details such as availability, maintenance status, and
usage logs. Staff can add new equipment, update information, and schedule
maintenance tasks from this interface.
Class Scheduling and Booking: This section enables staff to create and manage
class schedules, including adding new classes, setting capacities, and assigning
instructors. Members can view the schedule, book classes, and receive
confirmation notifications.
Financial Management: The financial management interface provides tools for
tracking membership dues, payments, and expenses. It includes features for
generating invoices, processing payments, and generating financial reports like
income statements and balance sheets.
Staff Management: Staff management allows administrators to add new staff
members, assign roles and permissions, and track their work schedules and
performance. It may also include features for managing payroll and employee
benefits.
Reporting and Analytics: This section provides access to various reports and
analytics dashboards for monitoring key performance indicators (KPIs) such as
13
member demographics, class attendance, revenue trends, and equipment usage.
Users can customize reports and visualize data using charts and graphs.
14
CHAPTER 4
PROPOSED METHODOLOGY
Scheduling and Booking Module: This module revolutionizes the way classes,
sessions, and equipment bookings are managed. It empowers members to easily
schedule their activities while providing gym administrators with tools to optimize
resource allocation and prevent overcrowding during peak hours.
15
Reporting and Analytics Module: This module provides valuable insights into
member demographics, attendance trends, revenue streams, and equipment usage
patterns through customizable reports and analytics dashboards.
Database Schema Design: Design the database schema to represent the different
entities and relationships in the gym management system, such as members,
equipment, classes, staff, and financial transactions.
16
Optimize Database Performance: Implement database performance tuning
techniques such as indexing, query optimization, caching, and database sharding to
improve application responsiveness and scalability.
Backup and Recovery: Implement backup and recovery strategies to prevent data
loss and ensure data integrity in case of system failures, disasters, or accidental
deletions.
17
CHAPTER 5
IMPLEMENTATION
Requirements Gathering: Begin by understanding the needs of the gym, its staff,
and its members. This involves identifying the key features required for member
management, staff management, scheduling, billing, and reporting.
User Interface: Develop user interfaces for members, staff, and admins to interact
with the system. Provide intuitive interfaces for tasks such as member registration,
schedule management, billing, and reporting.
Staff Management: Develop tools for staff to manage schedules, view member
information, process payments, and perform other administrative tasks. Ensure that
staff members have access to the necessary tools and information to effectively
manage gym operations.
18
-- MongoDB 7.0
-- https://www.mongodb.com/
-- Host: 127.0.0.1
-- Generation Time: Jan 11, 2021, at 01:03 PM
-- Server version: 10.4.11-MariaDB
-- MongoDB version : 7.0
<body>
<section id="contact" class="contact">
<div class="container">
19
<div class="section-title start-tag">
<h2>REGISTER</h2>
<p>Fill down your details and get your membership instantly!!</p>
</div>
<form method="post" action="done.html">
<div class="form-group">
<label for="exampleInputEmail1">Name</label>
<input type="text" class="form-control" id="exampleInputEmail1" aria-
describedby="emailHelp" placeholder="Enter name">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Email</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-
describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share
your email with anyone else.</small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Contact number</label>
<input type="number" class="form-control" id="exampleInputPassword1"
placeholder="Enter contact">
</div>
</form/>
</section>
</body>
</html>
(Index.js)
20
var express = require("express");
var bodyParser = require("body-parser");
var mongoose = require("mongoose");
const app = express()
app.use(bodyParser.json());
app.use(express.static('public'));
app.use(bodyParser.urlencoded({
extended:true
}))
mongoose.connect('mongodb://127.0.0.1:27017/mydb'
);
var db = mongoose.connection;
app.post("/done.html",(req,res)=>{
var name = req.body.name;
var email = req.body.email;
var dataObj = {
"name" : name,
"email" : email,
"contact" : contact
}
21
db.collection('users').insertOne(dataObj,(err,collection)=>{
if(err){
throw err;
}
console.log("Record inserted");
});
return res.redirect("/done.html")
})
app.get("/",(req,res)=>{
res.set({
"Allow-access-Allow-Origin" : '*'
})
res.redirect("index.html")
})
app.listen(3000)
CHAPTER 6
22
RESULT AND DISCUSSION
23
Fig. 6.2 Registration page
The image shown in fig 6.2 depicts a cutomer registration form for a gym management system.
It captures details like name, contact, and email for enrolling members. Gym management
systems are software solutions streamlining gym operations by managing customer information
and payments, all in one centralized platform.
24
Fig. 6.4 Success page
The image shown in fig 6.3 redirects the client to a success page which means that the user is
sucessfullly registered as a member
25
CHAPTER 7
CONCLUSION
Gym management systems (GMS) have a great future scope and can help
gyms run more efficiently. AI algorithms can provide nutrition guidance,
create personalized workout plans, and set goals based on user data. AI can
also provide real-time feedback and revise workouts, and assess exercise
form and techniques.GMS can enable online scheduling for multiple
clients. GMS can highlight the people who work at the gym and provide
clients with a sneak-peek of what to expect from the services
REFERENCES
26
1. BOOTSTRAP - https://getbootstrap.com
2. STACKOVERFLOW- https://stackoverflow.com
3. EXPRESS JS - https://expressjs.com
4. MDN-DOCUMENTATION- https://developer.mozilla.org
5. MONGODB - https://www.mongodb.com
6. TAILWIND-CSS - https://tailwindcss.com
7. GITHUB – https://github.com
8. YOUTUBE - https://www.youtube.com
27