Department of Computer Science and Engineering: A Mini Project Report
Department of Computer Science and Engineering: A Mini Project Report
Department of Computer Science and Engineering: A Mini Project Report
KARNATAKA
2020-2021
SAPTHAGIRI COLLEGE OF ENGINEERING
Affiliated to VTU Belagavi, Approved by AICTE, NEW DELHI
(ISO 9001-2015 & ISO14001-2015 Certified Institute)
14/5, Chikkasandra, Hesaraghatta Main Road, Bengaluru – 560057.
EXTERNAL EXAMINATION
1.
2.
ACKNOWLEDGEMENT
Any achievement does not depend solely on the individual efforts but on the guidance,
encouragement and co-operation of intellectuals, elders and friends. A number of personalities, in
their own capacities have helped us in carrying out this mini project work. We would like to take
this opportunity to thank them all.
We would like to express my profound thanks to Sri. G Dayanand, Chairman, Sapthagiri
College of Engineering Bangalore, for his continuous support in providing amenities to carry out
this Mini Project.
Special Thanks to Manoj G D, Executive Director, Sapthagiri College of Engineering
Bangalore, for his valuable suggestion.
Also we would like to express our immense gratitude to Dr. H Ramkrishna, Principal,
Sapthagiri College of Engineering Bangalore, for his help and inspiration during the tenure of the
course.
We also extend our sincere thanks to Dr. Kamalakshi Naganna, Professor and Head,
Department of Computer Science and Engineering, Sapthagiri College of Engineering, for his
constant support.
We would like to express our heartful gratitude to Prof. Manasa K N , Assistant professor
and Prof. Chaitra N C, Assistant professor, Department of Computer Science and Engineering,
Sapthagiri College of Engineering, for their timely advice on the mini project and regular
assistance throughout the work.
We also extend our sincere thanks to all the Faculty members and supporting staff
Department of Computer Science and Engineering, Sapthagiri College of Engineering, for their
constant support and encouragement.
Finally, we thank our parents and friends for their moral support.
REVATHI D
YASAHASWINI S
I
ABSTRACT
This project is an endeavor to provide a solution to this. The proposed system enables an
administrator to keep track of customer orders and maintaining records of the customers. He can
view the submitted requirements made by the customer. He can also view the reports generated by
him and can also sent approvals or rejections instantly. Thus, the project is a sincere effort in
simplifying the task of administrators in an easily usable format. I finalized to make this project
and hence planned to develop this system using PHP for front end and MySQL as the Back End.
II
TABLE OF CONTENTS
1 INTRODUCTION
6 BIBLOGRAPHY 25
III
FIGURES
SCREENSHOTS
4.2 SERVICES 19
4.3 ABOUT US 20
4.4 CONTACT US 20
4.8 APPOINTMENTS 22
4.10 INVOICES 23
IV
Salon Management System
CHAPTER 1
INTRODUCTION
1.1 Introduction to DBMS
Database is a collection of related data. DBMS came into existence in 1960 by Charles.
Again in 1960 IBM brought IMS-Information management system. In 1970 Edgor Codd at
IBM came with new database called RDBMS. In 1980 then came SQL Architecture Structure
Query Language. In 1980 to 1990 there were advances in DBMS e.g. DB2, ORACLE. A
database has the following implicit properties:
A database represents some aspect of the real world, sometimes called the mini world
or the universe of discourse. Changes to the mini world are reflected in the database.
A database is designed, built, and populated with data for a specific purpose. It has an
intended group of users and some preconceived applications in which these users are
interested.
In other words, a database has some source from which data is derived, some degree of
interaction with events in the real world, and an audience that is actively interested in its
contents.
Metadata (meta data, or sometimes meta information) is "data about data", of any sort in any
media. An item of metadata may describe a collection of data including multiple content
items and hierarchical levels, for example a database schema. In data processing, metadata is
definitional data that provides information about or documentation of other data managed
within an application or environment. The term should be used with caution as all data is
about something, and is therefore metadata.
Defining a database specifying the database involves specifying the data types, constraints
and structures of the data to be stored in the database. The descriptive information is also
stored in the database in the form database catalogue or dictionary; it is called meta-data.
Manipulating the data includes the querying the database to retrieve the specific data. An
application program accesses the database by sending the queries or requests for data to
DBMS. The important function provided by the DBMS includes protecting the database and
maintain the database.
The Figure 1.1 shows the Three Schema Architecture of Database Management System. The
architecture has three levels
• External level:
The external level is the view that the individual user of the database has. This view is often a
restricted view of the database and the same database may provide a number of different
views for different classes of users. In general, the end users and even the application
programmers are only interested in a subset of the database.
• Conceptual level:
The conceptual view is the informational model of the enterprise and contains the view of the
whole enterprise without any concern for the physical implementation. The conceptual view
is the overall community view of the database and it includes all the information that is going
to be represented in the database.
• Internal level:
The internal view is the view about the actual physical storage of data. It describes what data
is stored in the database and how.
1.2 Overview of project
Problem Statement
The main objective of the project is to manage the details of the customers appointment
project is totally built at the admin end and thus only the admin is guaranteed the access.
It tracks the details about the customer, service, accepted appointments, invoices.
Provides searching facilities based on various factors such as skin care, manicure,
pedicure, facial.
It tracks all the details about the sales taken place in a month, year, reports regarding
the sales completed.
Manage the customer information.
Shows the information and costs of the services provided.
It deals with monitoring information and invoices of the customer.
Editing, Adding and Updating of appointments is improved which results in proper
resource management of services data.
Integration of all the record of appointments accepted.
CHAPTER 2
ADMIN
LOGIN APPOINTMENTS
DATABASE
CUSTOMER
REGISTER
VIEW UPDATE
The above figure 2.1 describes the system architecture of Salon Management System. The
architecture consists of a centralized database, which can be accessed by admin and normal
users or customers. Administrative access is required for the admin, which is implemented
through login module by which the admin can login with the registered userId and password.
Once login is successful, the admin can manipulate the updating or deleting customers
users and their services, adding, updating and deleting categories .
If the admin fails to login, the admin gets a popup message that the userId and password are
incorrect.
The admin needs to enter valid user Id and password once again.
A customer first needs to register in the website by filling up valid user Id,name, email,
address and password.
Username should be unique and if it is already been taken then a popup message is
displayed that the username is already taken.
Password confirmation should be made by retyping the password again. If the password and
password confirmation do not match then it produces a popup message stating that retype the
password again.
On successful registration, customer can login through valid userId and password. On
successful login, customer is directed to services list where customers can view services of
their interest and then add to list, select appointment time, make payment and order the.
Customer can also update their password and address.
2.2 ER DIAGRAM
An ERD is a model that identifies the concepts or entities that exist in a system and
the relationships between those entities.
ERD may also be more abstract, not necessarily capturing every table needed within a
database, but serving to diagram the major concepts and relationships.
This ERD is of the latter type, intended to present an abstract, theoretical view of the
major entities and relationships needed for management of electronic resources.
It may assist the database design process for an e-resource management system, but
does not identify every table that would be necessary for an electronic resource
management database
Mobile no email creationdate
username password
sevicename
adminname
adminregdate
id
BPMS
cost
id
creationdate
updationdate
request details
Accept/reject
gender
email
mobileno
id appointment generate
name
customers
name
id
status
aptno
belongsto
remarkdate
email
remark
id
phoneno invoice
applydate
aptdate Userid
services Postingdate
apttime
serviceid
billingid
Figure 2.2: ER Diagram
2.3 SCHEMA DIAGRAM
A database schema is a skeleton structure that represents the logical view of the entire
ADMIN
ID Admin_Name User_name Mobile_number Email Password Adminreg_date
CUSTOMER
IdNameMobile_numberEmail GenderDetails Updation_date Creation_date
SERVICES
Id
Service_name Creation_date Cost
APPOINTMENTS
Id Name Apt_no Mobile_number Email Apt_date Apt_time Services Apply Remark Remark_ Status
_date date
INVOICE
Id User_id Service_id Billing_date Posting_date
Customer:
Here the customers books for an appointment and receives the services provided by
the designer.
Designer:
Admin:
The admin has the control to accept and reject appointments , enquire about the
customer details, services updation .
2.5 ALGORITHM:
Stored procedure
STEP 1: BEGIN
STEP 2: DELIMITER $$
SELECT
a.appointment_id,a.customer_id,s.service_name,CONCAT(c.phone_no,'
,’c.email_id,' ,c.state,' ,',c.city,' ) AS Address,a.number of services as NUM
DELIMITER ;
STEP 4: END
Stored procedure is a set of sql statement . The procedure is created by the name appointment
list in the created definer `root`@`localhost` with select all the attributes of appointment table
by giving appointment id as condition .
SYSTEM IMPLEMENTATION
To implement this system Java, Net Beans IDE 8.2 is used for backend and XAMPP is used
for frontend.
System Requirements:
Software Requirements
Operating system :Windows 10
Database: MySQL
Hardware Requirements:
RAM : GB
Speed :1.2GHz
Monitor :LED
3.1 Admin Module:
INPUT:
OUTPUT:
A successful login shall direct admin to view services, also can process appointments. If the
login attempt fails, popup message will be displayed that the userId and password are invalid
admin needs to retype the userId and password again.
DESCRIPTION:
Frontend is designed using XAMPP. Login page consists of a form with userId, password
fields. On filling the form the admin should click on the login button. If the userId and
passwords are valid then admin is directed to services list page. If not popup message will be
displayed stating that the username and password are invalid.
OBJECTIVES:
• The main purpose of this module is to provide all the functionality such as create, update
and delete options to categories, products, services, appointments and their profiles only to
admin and not for customers.
• Admin can view list of appointments and only he can update appointments details or can
also reject appointments.
• Only admin can create new categories and products, update or delete existing categories
and products.
INPUT:
Inputs for registration are Username, Email id, Password. Inputs for login are Username,
Password.
OUTPUT:
On successful registration, customer will be redirected to login page to login. If not popup
message will displayed informing customer that invalid email or password.
A successful login shall direct customer to services list page. If the login attempt fails, popup
message will be displayed that the email id and password are invalid and customer needs to
retype the email id and password again
DESCRIPTION:
Frontend is designed using XAMPP, Scene Builder. Registration page consists of a form with
username, email id, password ,address ,phone number fields. Login page consists of a form
with email id, password fields. On filling the form the customer should click on the submit
button. If the username and passwords are valid then admin is directed to services list page. If
not a popup message will be displayed stating that the email id and password are invalid.
OBJECTIVES:
• The main objective of customer module is to provide all the required limited functionality to
customers.
• Customer can view the list and details of categories and services.
• Customer can add different services, change the services required, select appointment time,
make payment.
• Customer can update his password and address in the settings page, He can also view his
previous appointments list.
3.3 Menu Module:
INPUT:
Inputs for menu module are appointment id, item name, service image, price.
OUTPUT:
The item will be successfully added to the appointment list and pop up message will be
displayed.
DESCRIPTION:
Frontend is designed using XAMPP, Scene Builder. The items ordered by the customer will
be added to the list and the details regarding appointment id, services name and price will be
displayed .The customer can modify services of his own interest.
OBJECTIVES:
• The main purpose for developing this module is to provide appointment id, service name
and price.
• Items will be managed by customer will be able to see services and appointments.
INPUT:
Inputs for this module are appointment id, customer id , service name and the appointment
status.
OUTPUT:
An order will be created when customer add services to the cart with details of appointment
id, price.
DESCRIPTION:
Frontend is designed using XAMPP, Scene Builder. When customer add items to the cart the
appointment will be created with appointment id, name, price . If the services are added ,The
customer can confirm his appointment and also can view his order status. Order module also
has a method to calculate total price.
OBJECTIVES:
• Customer can order the services and also view his appointments status.
Screenshot 4.1: User Dashboard through which user can access details of services
`
Screenshot 4.3: Provides the information about salon and its maintainence
Screenshot 4.4: Provides contact details of salon which is accessible for customers
Screenshot 4.5: Login page through which admin can sign in through user name and
password
Screenshot 4.10: List of Invoices which took place within a particular period
CHAPTER 5
For users, scheduling was the heart of the application. And indeed, users can current select a
parlor, stylist, date, and service to make an appointment. They can then view or
cancel appointments, and rate salons on parlor appointments.
Together, all of this functionality gives users an unmatched value proposition for booking
salon appointments. Users also accumulate points after attending and rating an appointment,
which, upon launch of the site, would be redeemable for parlor credit. This is an additional
source of incentive to use this application.
FUTURE WORKS:
• Customer’s activity can be studied and offers based on their activity for specific
can be given.
BIBLIOGRAPHY
1) Rakrishnan,&Gehrke,J.(2011).Databasemanagementsystems.Boston: McGraw-Hill.
2) Monson-Haefel,R.(2007).J2EEWebservices.Boston,Mass.:Addison-Wesley.
Silberschatz,A.,Korth,H.F.,&Sudarshan,S.(2011).
3) Databasesystemsconcepts.EstadosUnidos :McGraw-HillCompanies,Inc.
4) Hanna P.(2002):JSP2.0TheCompleteReference,SecondEditionMcGrawHill
Education.
•https://www.w3schools.com/
php/default.asp
•https://www.php.net/
•https://www.mysql.com/
•http://www.mysqltutorial.org
•https://www.apachefriends.org/download.html