Download as pdf or txt
Download as pdf or txt
You are on page 1of 28

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

"Jnana Sangama", Belagavi: 590 018

A Database Management Systems Mini Project report on


“ONLINE CSE BOOK STORE MANAGEMENT SYSTEM”
Submitted in partial fulfillment of the requirement for the award of Degree of

BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE AND ENGINEERING
By

KARTHIK K S 1AY20CS067

HEMANTH M 1AY20CS062

Under the guidance of


Prof. RAJINI

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


ACHARYA INSTITUTE OF TECHNOLOGY
(Affiliated to Visvesvaraya Technological University, Belagavi)
2020-2021
ACHARYA INSTITUTE OF TECHNOLOGY
(Affiliated to Visvesvaraya Technological University, Belagavi)
Soladevanahalli, Bangalore – 560090

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CertifiCate

Certified that the Database Management Systems mini project entitled “ONLINE CSE BOOK
STORE MANAGEMENT SYSTEM ” is a bonafide work carried out by KARTHIK K S
(1AY20CS067) and HEMANTH M (1AY20CS062) of 5th semester in partial fulfillment for the award
of degree of Bachelor of Engineering in Computer Science & Engineering of the Visvesvaraya
Technological University, Belagavi, during the year 2022-2023 It is certified that all corrections/
suggestions indicated for internal assessments have been incorporated in the Report deposited in the
departmental library. The Mini Project report has been approved as it satisfies the academic
requirements in respect of Mini Project work prescribed for the Bachelor of Engineering Degree.

Signature of Guides Signature of H.O.D

Name of the examiners Signature with date

1.

2.
ABSTRACT

Online shopping is the process whereby consumers directly buy goods ,services etc. from a seller
interactively in real time without an intermediary service over the internet. Online shopping is the
process of buying goods and services from merchants who sell on the internet .Since the emergence
of the world wide web, .merchants have sought to sell their books to people who surf the internet
.Shoppers can visit web stores from the comfort of their homes and shop as they sit in front of the
computer .Consumers buy a variety of items from online stores. In fact,people can purchase just
about anything from companies that provide their books online. Books , clothing ,household
appliances, toys, hardware ,software and health insurance are just some of the hundreds of books
consumers can buy from an online store. Many people choose to conduct shopping online because
of the convenience. For example, when a person shops at a brick and motor store , she has to drive
to the store ,find a parking place , and walk throughout the store until she locates the books she needs
.After finding the items she wants to purchase ,she may often need to stand in long lines at the cash
registe
ACKNOWLEDGEMENT

I express my gratitude to our institution and management for providing us with good
infrastructure, laboratory, facilities and inspiring staff whose gratitude was of immense help
in completion of this seminar successfully.

I express my sincere gratitude to our principal, Dr. RAJATH HEGDE for providing
required environment and valuable support for developing this mini project.

My sincere thanks to Dr. Ajith Padyana, Head of the Department, Computer Science and
Engineering, Acharya Institute of Technology for his valuable support and for rendering us
resources for this mini project work.

I express my gratitude to Prof. RAJINI, Assistant Professors, Dept. Computer Science and
Engineering, Acharya Institute of Technology who guided me with valuable suggestions in
completing this miniproject at every stage.
My gratitude thanks should be rendered to many people who helped me in all possible ways.

KARTHIK K S
(1AY20CS067)

HEMANTH M
(1AY20CS062)
ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

TABLE OF CONTENTS

1. Abstract (i)
2. Acknowledgement (ii)
3.Table of contents (iii)
4. List of figures (iv)
1 .Introduction ...............................................................................................1-2
1.1 Introduction to book store management system ..........................................1
1.2 Objectives of the project ............................................................................1
1.3Functionalities provided by Online Book Store Management System…2

2 .System Requirements Specification ...........................................................3-5


2.1 Existing system..................................................................................................3
2.2 Proposed system ...............................................................................................3
2.3 System requirements………………………………………………………….4
2.3.1 Hardware Requirements ...............................................................................4
2.2.2 Software Requirements .............................................................................4

3 .System Design .............................................................................................5-6


3.1 Introduction....................................................................................................5
3.2 User Interface Diagram..................................................................................6

4. Database Relationship ..............................................................................7-10


4.1 Schema Diagram ..........................................................................................................7
4.2 E-R Diagram ............................................................................................................8
4.3 List of tables with attributes and constraints………………………………………9-10

5. System Implementation ...............................................................................................11-13


5.1 Introduction……………………………………………………………………………..11
5.2 Tool and Technology …………………………………………………………………..11

Dept. of CS&E, AIT, BENGALURU 1 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

5.2.1 PHP………………………………………………………………………………….11
5.2.2 Apache……………………………………………………………………………….12
5.2.3 MySQL ……………………………………………………………………………...12
5.2.4 Xampp Server ……………………………………………………………………13

6. System Testing ……………..………………………………………….14-16


6.1 Unit Testing………………………………………………………………………..14

6.2 Integration Testing…………………………………..………………………….14

6.3 Functional Testing………………………………………………….…………….15

6.4 System Testing…………………………………………………………………..15

6.5 White Box Testing………………………………………………………………...16

6.6 Black Box Testing……………………………………………………..…………16

7. Results………………………………………………………………….……………17-21

1. Admin login page……………………………………………………………..…..17


2. List of all the books………………………………………………………..……..18
3. List of all the publishers…………………………………………………………..18
4. Publishers Book…………………………………………………………….……19
5. Book Details…………………………………………………………………..….19
6. My cart……………………………………………………………………………20
7. Checkout Page ……………………………………………………………………20
8. Purchasing a Book…………………………………………………………………21
9. Adding a New Book……………………………………………………………….21

8 .Conclusion and Future Enhancements……………………………………………..22

9 .Bibilorapghy……………………………………………………………………….…23

Dept. of CS&E, AIT, BENGALURU 2 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

CHAPTER 1

INTRODUCTION

1.1 Overview

In this era of highly advanced softwares, one can observe a lot of progress in the zone of
architectural design and its principles. There are various innovative and efficient software
engineering market which have made the life of a common man very simple and effective. Our
Online Bookstore is one such software. Using the online bookstore system has a lot many benefits. There
is absolutely no necessity for a consumer to go out in search of a particular book.

*The objective of our project is to develop a basic online book store management website for the
sales of books over the internet. The website allows an user to search for different books
of different categories which are available for purchase. Online book store is a virtual store on the
internet where customers can browse the catalog books of interest.
*The selected books may be collected in a shopping cart. At checkout time, the books in the
shopping cart will be presented as order.
* The user can then complete the purchasing by making a transaction with a credit/debit card.

1.2 Objectives

The main objective of the project is to create an online book store that allows users to search and
purchase a book online based on title , author and publisher. The selected books are displayedin the
cart and the user can order their books online through credit/debit card payment. Using this website
the user can purchase a book online instead of going out to a book store and wasting time.

Dept. of CS&E, AIT, BENGALURU 3 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

1.3 Functionalities provided by Online Book Store Management System

• Provides the searching facilities based on various factors such as books, customer, orders.
• It also manages the login details online for books details, order details, price details.
• It tracks all the information of books, orders etc.
• Shows the information and description of the books, publishers, shopping cart.
• To increase efficiency of managing the books.
• It deals with monitoring the information and transaction of order.
• Editing, adding and updating of books is improved which results in proper resource
management of book store.
• Manage information of cart, books.
• Integration of all books of publishers.

Dept. of CS&E, AIT, BENGALURU 4 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

Chapter 2

SYSTEM ANALYSIS

2.1 Existing System

In the existing problem the work is done only manually but in the proposed system we have
to computerize the work using the application.

• Lack of security of data.


• More man power.
• Time consuming.
• Consumes large volume of pare work.
• Needs manual calculations.
• No direct role for the higher officials.

2.2 Proposed system

The aim of the proposed system is to develop a system of improved facilities. The proposed
system can overcome all the limitations of the existing system. The system provides proper security and
reduces the manual work.

• Security of data.
• Ensure data accuracy.
• Proper control of the higher officials.
• Minimize manual data entry.
• Minimum time needed for the various processing.
• Greater efficiency.
• Better service.
• User friendly and interactive.

Dept. of CS&E, AIT, BENGALURU 5 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

2.3 System Requirements


2.3.1 Software Requirements

Operating System : Windows XP/Windows 7

Language : PHP

Back End : MYSQL Server

Browser : Any of Mozilla, Opera, Chrome etc

Software Tool Kit : XAMPP

2.3.2 Hardware Requirements

Processor : Pentium III 630 MHz

RAM : 128 MB

Hard Disk :20 GB

Dept. of CS&E, AIT, BENGALURU 6 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

CHAPTER 3
SYSTEM DESIGN
3.1 Introduction

The most creative and challenging face of the system development is System Design. It
provides the understanding and procedural details necessary for implementing the system
recommended in the feasibility study. Design goes through the logical and physical stagesof
development. In designing a new system, the system analyst must have a clear understanding of the
objectives, which the design is aiming to fulfill. The first step is to determine how the output isto be
produced and in what format. Second, input data and master files have to be designed to meet the
requirements of the proposed output. The operational phases are handled through program
construction and testing. Design of a system can be defined as a process of applying various
techniques and principles for the purpose of defining a device, a process or a system in sufficient
detail to permit its physical realization. Thus system design is a solution to “how to” approach to
the creation of a new system. Thus important phase provides the understanding and the procedural
details necessary for implementing the system recommended in the feasibility study. The design
step provides a data design, architectural design, and a procedural design.

3.2 User Interface Design

User Interface Design is concerned with the dialogue between a user and the computer. It
is concerned with everything from starting the system or logging into the system to the eventually
presentation of desired inputs and outputs. The overall flow of screens and messages is called a
dialogue.

Dept. of CS&E, AIT, BENGALURU 7 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

The following steps are various guidelines for User Interface Design

1) The system user should always be aware of what to do next.


2) The screen should be formatted so that various types of information, instruction
and messages always appear in the same general display area.

3) Message, instructions or information should be displayed long enough to allow the system
user to read them.
4) Use display attributes sparingly.
5) Default values for fields and answers to be entered by the user should be specified.
6) A user should not be allowed to proceed without correcting an error.
7) The system user should never get an operating system message or fatal error.

Dept. of CS&E, AIT, BENGALURU 8 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

Chapter 4

4.1 SCHEMA DATABASE RELATIONSHIP

admin

book_isbn book_price

orderid customerid amount date ship_name ship_address ship_city ship_zip_code

orderid book_isbn item_price quantity

Publisher

Dept. of CS&E, AIT, BENGALURU 9 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

4.2 E-R DIAGRAM

An Entity Relationship Diagram (ERD) shows the relationships of entity sets stored in a database. An
entity in this context is an object, a component of data. An entity set is a collection of similar
entities. These entities can have attributes that define its properties.

By defining the entities, their attributes, and showing the relationships between them, an ER
diagram illustrates the logical structure of databases. ER diagrams are used to sketch out the design
of a database.

Fig:4.2- Entity Relationship Diagram of Employee Leave Management System

Dept. of CS&E, AIT, BENGALURU 10 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

4.3 LIST OF TABLES WITH ATTRIBUTES AND CONSTRAINTS:

admin:
FIELD TYPE NULL KEY DEFAULT EXTRA
name varchar(20) NO PRI NULL
password varchar(40) NO PRI NULL

Books:
FIELD TYPE NULL KEY DEFAULT EXTRA
books_isbn varchar(20) NO PRI NULL
book_title varchar(60) YES NULL
book_author varchar(60) YES NULL
book_image varchar(40) YES NULL
book_descr text YES NULL
book_price decimal(6,2) NO NULL
publisherid int(10) NO NULL

Customers:
FIELD TYPE NULL KEY DEFAULT EXTRA
customerid int(10) NO PRI NULL auto_increment
name varchar(100) NO NULL
address varchar(80) NO
NULL city varchar(30) NO
NULL zip_code varchar(10) NO
NULL country varchar(60) NO

orders:
FIELD TYPE NULL KEY DEFAULT EXTRA
orderid int(10) NO PRI NULL auto_increment
customerd varchar(10) NO NULL
amount decimal(6,2) NO NULL
date timestamp NO current_timestamp()
ship_name char(60) NO NULL
ship_address char(80) NO NULL
ship_city char(30) NO NULL

Dept. of CS&E, AIT, BENGALURU 11 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

ship_zip_code char(10) NO NULL


ship_country char(20) NO NULL

orderlog:
FIELD TYPE NULL KEY DEFAULT EXTRA
id int(11) NO PRI NULL auto_increment
catid int(11) NO NULL
action varchar(20) NO NULL
c_date datetime NO NULL

order_items:
FIELD TYPE NULL KEY DEFAULT EXTRA
orderid int(10) NO NULL
book_isbn varchar(20) NO NULL
item_price decimal(6,2) NO NULL
quantity tinyint(3) NO NULL

publisher:
FIELD TYPE NULL KEY DEFAULT EXTRA
publisherid int(10) NO PRI NULL auto_increment
publisher_name varchar(60) NO NULL

Dept. of CS&E,CIT,Ponnampet Page 11 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

CHAPTER 5

SYSTEM IMPLEMENTATION

5.1 Introduction
System implementation is the important stage of project when the theoretical design is tuned into
practical system. The main stages in the implementation are as follows:

* planning
* training
* system testing and
* change over planning

Planning is the first task in the system implementation. At the time of implementation of any
system people from different departments and system analysis involve. They are confirmed to
practical problem of controlling various activities of people outside their own data processing
departments. The line managers controlled through an implementation coordinating committee. The
committee considers ideas, problems and complaints of user department.

5.2 Tool and Technology

5.2.1 PHP

PHP is a server-side scripting language designed for web development but also used as a general-
purpose programming language. Originally created by Rasmus Lerdorf in 1994, the PHP reference
implementation is now produced by The PHP Group. PHP originally stood for Personal Home Page, but
it now stands for the recursive acronym PHP: Hypertext Preprocessor.

PHP code may be embedded into HTML code, or it can be used in combination with various web
template systems, web content management system and web frameworks. PHP code is usually

Dept. of CS&E,CIT,Ponnampet Page 11 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

processed by a PHP interpreter implemented as a module in the web server or as a Common


Gateway Interface (CGI) executable.

5.2.2 Apache

The Apache HTTP Server, colloquially called Apache, is free and open-source crossplatform web
server software, released under the terms of Apache License 2.0. Apache is developed and
maintained by an open community of developers under the auspices of the Apache Software
Foundation. The Apache HTTP server is a software (or program) that runs in the background under an
appropriate operating system, which supports multi-tasking, and provides services to other applications
that connect to it, such as client web browsers. It was first developed to work with Linux/Unix
operating systems, but was later adapted to work under other systems, including Windows and
Mac. The Apache binary running under UNIX is called HTTPd (short for HTTP daemon), and
under win32 is called Apache.exe.

5.2.3 MySQL

MySQL is a freely available open source Relational Database Management System (RDBMS) that uses
Structured Query Language (SQL). Its name is a combination of "My", the name of cofounder
Michael Widenius's daughter, and "SQL", the abbreviation for Structured Query Language.

SQL is the most popular language for adding, accessing and managing content in a database. It is
most noted for its quick processing, proven reliability, ease and flexibility of use. MySQL is an
essential part of almost every open source PHP application. Good examples for PHP &
MySQLbased scripts are WordPress, Joomla, Magento and Drupal.

One of the most important things about using MySQL is to have a MySQL specialized host.

5.2.4 Xampp Server

XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache
Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts
written in the PHP and Perl programming languages. Since most of the servers use XAMPP,it makes
transitioning easier.

Dept. of CS&E,CIT,Ponnampet Page 12 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

CHAPTER 6
SYSTEM TESTING

The purpose of testing is to discover errors. Testing is the process of trying to discover every
conceivable fault or weakness in a work product. It provides a way to check the functionality of
components, sub-assemblies, assemblies and/or a finished product It is the process of exercising
software with the intent of ensuring that the

Software system meets its requirements and user expectations and does not fail in an unacceptable
manner. There are various types of test. Each test type addresses a specific testing requirement.

6.1 Unit testing:

Unit testing involves the design of test cases that validate that the internal program logic is
functioning properly, and that program inputs produce valid outputs. All decision branches and
internal code flow should be validated. It is the testing of individual software units of the
application .it is done after the completion of an individual unit before integration. This is
a structural testing, that relies on knowledge of its construction and is invasive. Unit tests perform
basic tests at component level and test a specific business process, application, and/or
system configuration. Unit tests ensure that each unique path of a business process performs
accurately to the documented specifications and contains clearly defined inputs and expected
results.

6.2 Integration testing:

Integration tests are designed to test integrated software components to determine if they
actually run as one program. Testing is event driven and is more concerned with the basic
outcome of screens or fields. Integration tests demonstrate that although the components were
individually satisfaction, as shown by successfully unit testing, the combination of components is
correct and

Dept. of CS&E,CIT,Ponnampet Page 13 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

consistent. Integration testing is specifically aimed at exposing the problems that arise from the
combination of components.

6.3 Functional testing:

Functional tests provide systematic demonstrations that functions tested are available
as specified by the business and technical requirements, system documentation, and user manuals.

Functional testing is centered on the following items:


Valid Input : identified classes of valid input must be accepted.
Invalid Input : identified classes of invalid input must be rejected.
Functions : identified functions must be exercised.
Output : identified classes of application outputs must be exercised.
Systems/ Procedures: interfacing systems or procedures must be invoked. Organization
and preparation of functional tests is focused on requirements, key functions, or special
test cases. In addition, systematic coverage pertaining to identify Business process flows;
data fields, predefined processes, and successive processes must be considered for
testing. Before functional testing is complete, additional tests are identified and the
effective value of current tests is determined.

6.4 System Testing:

System testing ensures that the entire integrated software system meets requirements. It tests
a configuration to ensure known and predictable results. An example of system testing
is the configuration oriented system integration test. System testing is based on process
descriptions and flows, emphasizing pre-driven process links and integration points.

6.5 White Box Testing:

White Box Testing is a testing in which in which the software tester has knowledge of the
inner workings, structure and language of the software, or at least its purpose. It is purpose.
It is used to test areas that cannot be reached from a black box level.

Dept. of CS&E,CIT,Ponnampet Page 14 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

6.6 Black Box Testing:

Black Box Testing is testing the software without any knowledge of the inner workings, structure
or language of the module being tested. Black box tests, as most other kinds of tests, must be
written from a definitive source document, such as specification or requirements document, such
as specification or requirements document. It is a testing in which the software under test is
treated, as a black box you cannot “see” into it.

Dept. of CS&E,CIT,Ponnampet Page 15 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

CHAPTER 7
RESULTS

Welcome page of the project

Admin login page of the project

Dept. of CS&E,CIT,Ponnampet Page 16 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

List Of All the


Books

List Of All The Publishers

Dept. of CS&E,CIT,Ponnampet Page 17 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

Publishers Book

Book Details

Dept. of CS&E,CIT,Ponnampet Page 18 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

My Cart

Checkout Page

Dept. of CS&E,CIT,Ponnampet Page 19 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

Purchasing a Book

Adding a New Book

Dept. of CS&E,CIT,Ponnampet Page 20 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

CHAPTER 8
CONCLUSION AND FUTURE ENHANCEMENTS

The online book store management system is an attempt to overcome the present in efficient and
time consuming process of locating reserving and purchasing quality reading materials available in
the shop. Through automated book shop solution, provide an easy way of searching reservingand
purchasing of books. It’s worth analyzing and identifying the benefits as it would directly
influence the productivity of the shop. This software can be easily implemented under various
situations. Any education institute can make use of it for providing information about author,
content of the available books in the library. Modifications can be easily done according to the
requirements and when necessary. it can be used in any type of Book store for managing all the
sales and purchased activities.

Dept. of CSE,CIT,Ponnampet Page 21 2020-21


ONLINE CSE BOOK STORE MANAGEMENT SYSTEM

BIBILIOGRAPHY

[1] Database Systems Models, Languages, Design and Application

Programming,Ramez Elmasri and B.Navathe, 7th edition, 2017,pearson.

[2] Database Management systems.Ramakrishnan, and Gehrke, 3rd edition, 2014

www.w3schools.com

www.phppoint.com

www.mysqltutorial.com

www.html.com

Dept. of CSE,CIT,Ponnampet Page 22 2020-21

You might also like