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

SmB - ShopmyBook

A PROJECT REPORT

Submitted by

Sidharth Chugh (22MCA20998), Sonu (22MCA21101)

in partial fulfillment for the award of the degree of

MASTERS

IN

COMPUTER APPLICATIONS

Chandigarh University

August 2023
BONAFIDE CERTIFICATE

Certified that this project report “SmB - ShopmyBook” is the bonafide work of
“Sidharth Chugh(22MCA20998), Sonu(22MCA21101)” who carried out the
project work under my/our supervision.

SIGNATURE SIGNATURE

Dr. Abdullah, Ms Sarabjeet Kaur,

Head of the Department, Supervisor,

UIC UIC

Submitted for the project viva-voce examination held on

INTERNAL EXAMINER EXTERNAL EXAMINER


TABLE OF CONTENTS

CHAPTER 1. INTRODUCTION ...............................................................


1.1 Scope ……………………………………………………………………………..

1.2 Planning …………………………………………………………………………..

1.3 Task Definition ……………………………………………………………………

CHAPTER 2. LITERATURE REVIEW AND THEORY .........................


2.1Literature Review …………………………………………………………………

2.2 Existing Systems ………………………………………………………………....

CHAPTER 3. PRELIMINARY DESIGN………………..........................


3.1 Basic Modules …. …………………………………………………………………

3.2 Input Design …. ……………………………………………………………………

3.3 Output Design ……… ……………………………………………………………. ..

3.4 Database Design …. …………………………………………………………………

CHAPTER 4. DETAILED SYSTEM DESIGN/TECHNICAL DETAILS


4.1 Implementation approaches …………………………………………………………

4.2 Coding details and code efficiency ………………………………………………….

4.2.1 Coding …………………………………………………………………………

4.2.2 Code Efficiency ……………………………………………………………….

4.3 Testing approach …………………………………………………………………….

4.3.1 Unit testing …………………………………………………………………….

4.3.2 Integrated testing ………………………………………………………………

4.4 Modifications and Improvements ……………………………………………………

CHAPTER 5. WORK ETHICS …………….………………..........................


5.1 Test Reports …………………………………………………………………………..

5.2 Future Scope of the Project ……………………………………………………………


CHAPTER 1

INTRODUCTION

**1.1 Scope**

The Main Goal Of This Project Is To Create An Online Bookstore That Allows Users To
Browse Articles By Title, Author, And Subject. Users Can Easily Order Books Online
Using Credit Card Payment. Administrators Have Advanced Functionality Compared To
Regular Users, Including The Ability To Add, Delete And Edit Book Files, Book Groups,
Member Details And Approval Orders. The Platform Aims To Simplify The Book
Purchasing Process By Allowing Users To Buy Without Going To The Physical Book.

Online Store Is An Online Application Through Which Customers Can Easily Purchase
Books. Customers Can Search For Books By Title Or Author Via A Web Browser, Add
Them To Their Shopping Cart, And Complete The Transaction Using A Credit Card. User
Accounts Support Seamless Sign-up, And New Customers Can Quickly Create An
Account By Providing Basic Information Such As Name, Contact Number, And Location.
Users Can Also Give Feedback By Rating The Books From One To Five. The Books Are
Divided By Topics Such As Software, Libraries, English, And Architecture. The Project Is
Motivated By The Desire To Create A Functional Website For Business Purposes And The
Opportunity To Expand Knowledge In Various Technologies Such As Javascript, Sql, Css,
Html And React. The Project Also Focuses On Gaining Proficiency In Utilizing Data
Grids, Datasets, Data Transfer, And Data Reading.

**1.2 Planning**

The Project Encompasses The Following Functionalities:

1) **Home Page With Product Catalog**


- The Main Page Features The Product Catalog, Displaying All Book Categories And
Providing Search Options. Special Sections Include Recommended Titles And Books Of
The Week.

2) **Search**
- Users Can Utilize Text Boxes For Keyword Searches, With The Keyword Being The
Book Title.

3) **Advanced Search**
- Advanced Search Allows Users To Search For Books By Name, Author, Category, And
Price Category, Displaying Matching Results And Their Total Count.

4) **Book Description**
- Clicking On A Book Title Directs Users To The Book Description Page, Providing
Information About The Book's Contents And A Link To Amazon.com For Reviews.
5) **User Ratings**
- Users Can Rate Books Based On Their Preferences, Contributing To The Overall Rating
Of Each Book.

6) **Shopping Cart**
- Users Can Manage Their Shopping Carts, Modifying, Deleting, And Updating Selected
Items. The Final Cart Report Includes All Selected Items And The Total Price.

7) **User Accounts Management**


- Every User Needs An Account To Access The Website Fully. Users Can Log In And Log
Out, With All User Sessions Securely Stored In A Database.

8) **Administrator Management**
- Administrators Have Special Functions, Including Adding Or Deleting Books, Managing
Group Memberships, Handling Orders, And Managing Credit Card Types.

**1.3 Task Definition**

**Initiation Phase**
- This Phase Involves Creating Data Visualizations, Strategic Planning, Software Security,
And Display. It Concludes When All Activities Receive Approval From The Board Of
Directors.

**Improvement Phase**
- The Preparation Phase Defines The Project Model, Encompassing Project Plans, Visual
Documentation, Architectural Plans, Specifications, Test Plans, Engineering Reviews, And
Architectural Designs. The Approval Of The Management Team Is The End Of This
Stage.

**Production Phase**
- The Production Phase Includes The Implementation And Evaluation Of The Project. It
Includes The User Manual, Design, Measurement, Test Model, Reference Materials And
Analysis Process. This Period Ends When The Board Of Directors Approves All Terms.

CHAPTER 2

LITERATURE REVIEW AND THEORY

2.1 Literature Review

When Searching For Educational Websites And Apps On Google, Many Options Will
Appear. But The Challenge Is Choosing The Right Content At The Right Time. Some Sites
Have Stories, Legends, Essays, And More. The E-commerce Application Facilitates The
Trading Of New, Used, Rare And Out-of-print Books. The Internet Data Analysis Model
Mainly Focuses On Online Ordering Based On User Recommendations From The
Perspective Of Researchers. The Use Of Textbooks Still Exists, Although They Are
Controlled By Universities And Bookstores.

According To Software Development Companies, Electronic Products Make Searching


Easier By Providing Potential Customers With Important Information About Specific
Products. The Best Electronic Products Eliminate Printing, Quantity And Color
Restrictions And Distribution Requirements. The System Is Described As A Self-correcting
System That Allows The Contents Of Electronic Equipment To Be Provided In A Few
Clicks. Online Catalogs Can Promote Products, Facilitate Discussion, Provide
Personalization, And Allow Users To Add Items To Cart.

Popular E-commerce Websites Such As Mphonline, Bookdepository And Amazon Use


Electronic Products To Deliver Their Products. These Sites Offer A Variety Of Books And
Allow Users To View Book Details Including Title, Author, Price, And User Reviews.

2.2 Existing System

Figure 1: mph online

Power
Customer Orders Will Take 3 To 5 Business Days In Days . The Website Has
Expanded Its Products From Books To Stationery, From Office Supplies To Toys And
Games. Users Can Search For Books Using Various Parameters Such As Title,
Author, Isbn Or Publisher.

Weakness
Free Delivery To West Malaysia For Non-members, Free Delivery On Orders Over
Rm120 For Members. Non-members Can Enjoy Free Delivery On Orders Over
Rm120, While Members In East Malaysia Can Enjoy Free Delivery On Orders Over
Rm80. Orders Below The Stated Price Will Incur Additional Charges.
Figure 2: Book Depository

Many Malaysians do not know that Bookstore is an online bookstore and a hidden ge
m. The online bookstore is based in the UK but ships worldwide, including Malaysia.
Even better, the site offers free shipping worldwide.

Strength
Book Depository Is A Uk-based Online Book Store Offering Free Shipping
Worldwide. The Site Has More Than 19 Million Affordable Books And Offers Many
Search Methods, Including Keywords, Bestsellers, And Books.

Weakness
The Biggest Disadvantage Is Slow Delivery; Even If Shipped From A Uk Or Australia
Location, The Order Will Take 7-14 Hours To Arrive In Malaysia.

Figure 3: Amazon

Amazon.com is the world's largest book site and most famous online book store, and i
s also the website that began to revolutionize online shopping. On Amazon.com, custo
mers can find almost any book in a single edition. The best part is that they are shippe
d to Malaysia.

Strength

The Website Is Clean And Simple; There Is A Large Search Area At The Top That
Makes It Easier To Find Books. In Addition To Subcategories Separated By Books,
There Are Also Categories Such As Subject, Genre, Writing, Products, Gifts,
Language, Etc. There Are Many Subcategories According To. Amazon.com Also Has
A Wider Selection Of Books In More Languages than Any Other Online Store Listed
Here. Audiobooks And Magazines Are Also Available.

Amazon.com Also Sells E-books In Kindle Format That Users Can Read On Their
Kindle Devices. Most Other Online Bookstores In Malaysia Do Not Sell E-books In
This Format. Unfortunately, Amazon Does Not Sell Kindles Or E-books Directly To
Malaysians.

Amazon.com's Book Review And Description Section Is One Of The Best Features
Because It Allows Users To Make An Informed Decision Before Purchasing A Book.
The Site Also Recommends Books Based On User And Browsing Habits; This Is
Sometimes Useful And Understandable. Another Advantage Is The List Of Options
For Whether The User Wants A New, Used (at A Lower Price) Or Kindle Version Of
The Book.

Weakness

Unfortunately Amazon's Shipping Cost Is Very High, Standard Us Shipping Is $4.99


(rm20) Per Item And $4.99 (rm20) For Books. Shipping Costs Can Easily Exceed
Us$29.99 (rm125) Per Shipment. Shipping Costs For Priority Express And Bulk
Shipping Will Be Very Expensive. However, Some Products Are Eligible For Free
Shipping From Amazon If The Customer Spends Us$25 (rm100) Or More..
CHAPTER 3

PRELIMINARY DESIGN

Introduction:
System design is "a solution to the problem of how to create a new system. It has several st
ages. It helps to understand and provide the process details required to use the process appr
oved in the feasibility study. Changes in needs Design, ideas and products throughout the p
rocess of creating the body and the body; delivery; security and special control; detailed inf
ormation on planning and creating a business cycle. The physical design shows the details
of the physical body; Prepares the physical system and defines hardware and software. Des
ign translates the requirements of the system into an agreed-upon process in a workable wo
rk. Therefore, design is the translation of user-oriented information to programmers or fro
m information to personal information. Designing a system is a very creative process and c
an be facilitated by the following methods:

 Strong problem definition.


  Diagrams of already existing systems
 Process of the new system

Modules Description:
1. Registration: Customers can register their account here to continue shopping.

2. Administrator: Administrator can add books, check orders, ensure orders are delivered on
time, and approve customer payments.

3. Cart: Once logged in, customers can browse multiple books and select one or more items
and add them to their cart.

4. Payment Method: Cash on delivery.

3.2 Entrance Design

Attention should be paid to the entrance design, it is an important part of the overal
l design of the system. Follow certain standards to make the information as simple,
useful and error-free as possible. Verification checks in the system protect users fro
m incorrect and invalid information. This ensures that only valid data is available f
or data processing. If the input data is valid, the corresponding error message will b
e displayed. Please enter correct information. Interactive display mode facilitates a
ccess to user information.

3.2.1 Acknowledgment:

Some areas have only one number as I/P. Select ASCII for this key. If they are typi
ng characters, a message appears asking for the number. Transaction values are val
idated against numbers and symbols.

3.2.2 INPUT DESIGN OBJECTIVES:

The purpose of generating ideas is


▪ To create a better way of ideas
▪ To reach the best
▪ To be reliable that ideas can be accepted and understood by people. customers

3.3 OUTPUT DESIGN:

Output, as you likely recognise, normally refers to the results and facts produced with
the aid of the system. for lots give up users, output is the primary cause for device
improvement and the idea on which they decide the usefulness of an utility. maximum end
customers do no longer use the statistics machine itself or input information thru
workstations, however use the output of the device.
while designing output, systems analysts need to accomplish the subsequent.
 decide what information to present
 determine whether or not to display, print, or “communicate” the information and pick
the output medium.
 set up the presentation of records in an acceptable layout.
 determine how to distribute the output to intended recipients.
This alignment of facts on a display screen or in a broadcast file is known as
layout. acting the general sports indexed above calls for precise decisions, including
whether to use preprinted paperwork to put together reviews and files, how many lines to
draw on a broadcast page, or whether to apply pics and colours.
The layout of the print is described in the layout, tables describing local features,
and the layout of column headings and pages. As we referred to at the start of this
dialogue, those factors are analogous to an architect's blueprint that suggests the place of
every aspect.

3.4 DATABASE DESIGN

the general topic at the back of a database is to handle information as an integrated


entire. A database is a collection of inter-associated records stored with minimum
redundancy to serve unmarried customers speedy and efficiently. the overall goal is to
make information essential, short, cheaper and bendy for the consumer.

Database Tables
user Table
Field Name Data Type Size Allow Null Constrain
u_id int 4 No PK
u_fnm varchar 35 No
u_unm varchar 25 No
u_pwd varchar 20 No
u_gender varchar 7 No
u_email varchar 35 No
u_contact varchar 12 No
u_city varchar 20 No

Category Table
Field Name Data Type Size Allow Null Constrain
cat_id int 4 No PK
cat_nm varchar 30 No

Subcat Table
Field Name Data Type Size Allow Null Constrain
subcat_id int 4 No PK
Parent_id Int 4 No
Subcat_nm varchar 35 No
Contact Table
Field Name Data Type Size Allow Null Constrain
con_id int 4 No PK
Con_nm varchar 40 No
Con_email varchar 40 No
Con_query Longtext 0 No

Book Table
Field Name Data Type Size Allow Null Constrain
b_id int 4 No PK
b_nm varchar 60 No
b_subcat varchar 25 No
b_desc longtext 0 No
b_publisher varchar 40 No
b_edition varchar 20 No
b_isbn varchar 10 No
b_page int 5 No
b_price int 5 No
b_img longtext 0 No
b_pdf longtext 0 No

Cart Table
Field Name Data Type Size Allow Null Constrain
cart_id int 4 No PK
user_nm varchar 20 No
Book_id varchar 10 No PK
Book_name varchar 25 No
qty int 4 No
Amount Float No

Checkout Table
Field Name Data Type Size Allow Null Constrain
order_id int 4 No PK
Cart_id varchar 60 No
Order_date datetime No
Total_Amou Float 0 No
nt
CHAPTER 4

DETAILED SYSTEM DESIGN

4.1 Implementation approaches

The software program description record changed into used as input in the implementation
system. The actual implementation is executed the use of Hypertext Preprocessor. personal
home page turned into used to engage with the backend database. in this implementation, My
sq. Server become used as the backend RDBMS. php methods inputs or instructions given by
using the consumer and interprets them into comprehensible instructions for the backend
database. php additionally techniques the output produced by means of the backend database,
which is then displayed on the browser screen.

Coding and Screenshots

User Interface

Registration page:

Login Page:
Home Page:

Shopping Cart:
Contact Page:
Search Page:

Admin Panel
Database:
4.2 Code efficiency
Code performance is carried out through proper validation the usage of various Hypertext
Preprocessor coding methods. facts can not be delivered, regarded, modified or deleted with
out logins or classes. To do that, we applied consultation tracking strategies with php. Coders
have been used to validate the various bureaucracy to ensure that correct statistics changed
into entered into the database.

4.3 Testing Approach

TESTING PROCEDURES
 Unit testing: Unit conforms to shape/grade as packaged. Unit checking out makes a
speciality of checking out the corresponding form or magnificence. At this degree we
examined all our bureaucracy/training in my view. This trying out consists of trying out
control paths, interfaces, local data systems, good judgment decisions, boundary
conditions, and error dealing with. due to this take a look at, we have been capable of
save, retrieve, update, delete and search information in the desk.

 Integration trying out: Integration trying out is used to verify the mixture of software
program modules. At this degree we tested via combining all unit take a look at
paperwork into a subsystem. right here we observed that the subsystems labored properly

 device trying out: machine testing is used to affirm, whether the advanced system
meetsthe requirements.
 acceptance testing: popularity is the a part of the undertaking where the client accepts
the product. The taken into consideration gadget is examined for person recognition with
the aid of continuously contacting device users throughout the development segment and
making changes if essential.
 we hope that once the acceptance test, the system will provide the best result for the
enterprise. while making adjustments, we use regression trying out at some stage in
machine renovation.

 The software system delivered to the patron is changed. changes can be due to the
addition of latest functional modules or performance improvements. this is why proper
renovation of the gadget is crucial.

1.3.1 Unit Testing


CHAPTER 5

WORK ETHICS

5.1 Test Reports

5.2 Future Scope of the project

Software Program Improvement Is A In No Way-ending Process And Extends The Life Of


The Software According To The Changing Needs Of The User. The Venture Has Honestly
Been Developed With Easy Changes And Enhancements In Mind That May Be Wished
Sometimes.

However, There Are Numerous Ways To Alter This Software Program. Due To The Fact
We Don't Attain Many Stuff Because Of Lack Of Time. We Try To Cowl Everything From
Their Existing Product Go Back Registration Machine, However Due To Time Constraints
We Can Not Upload Many Things. Due To The Time Lag, I'm Able To Now Not Encompass
Any Of Them Right Here, And A Destiny Scope Can Be Evolved For Them. Productive
Earnings. For These Returns, Forming Shapes Is Only A Little Greater Feasible. In Addition,
The Net Machine Is Greater Beneficial For The Corporation. With Almost The Equal
Statistics And A Touch Change, A Web-based Totally Gadget May Be Designed To Satisfy
Their Requirements. All Of Them Can Be Taken Into Consideration Destiny Dimensions Of
This Project.

You might also like