Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
27 views43 pages

Final Report

This project report by Kristina Shrestha details the development of an e-commerce website as part of her Bachelor of Computer Application degree at Tribhuvan University. The website utilizes PHP, MySQL, HTML, and CSS to enhance user experience and back-end management, incorporating a Fuzzy Search algorithm for improved search functionality. The report covers various aspects, including system analysis, design, implementation, and the current e-commerce landscape in Nepal, highlighting both opportunities and challenges in the sector.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views43 pages

Final Report

This project report by Kristina Shrestha details the development of an e-commerce website as part of her Bachelor of Computer Application degree at Tribhuvan University. The website utilizes PHP, MySQL, HTML, and CSS to enhance user experience and back-end management, incorporating a Fuzzy Search algorithm for improved search functionality. The report covers various aspects, including system analysis, design, implementation, and the current e-commerce landscape in Nepal, highlighting both opportunities and challenges in the sector.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 43

Tribhuvan University

Faculty of Humanities and Social Sciences


A project Report
On
E- Commerce Website
Submitted to

Department of Computer Application


Xavier International College

In partial fulfillment of the requirements for the Bachelors of


Computer Application

Submitted By:
Kristina Shrestha
BCA 6th Semester
S.N: 6-2-546-31-2020
Under the Supervision of
ER. Taisan Taamang
September 18, 2024

i
Tribhuvan University
Faculty of Humanities and Social
Sciences

Xavier International College

Boudha, Kathmandu

Supervisor’s Recommendation

I hereby recommend that this project prepared under my supervision by Kristina Shrestha
entitled "E-Commerce Website" in partial fulfillment of the requirements for the Bachelor of
Computer Application degree is recommended for the final evaluation.

Er. Taisan Tamang

(Supervisor)

ii
Tribhuvan University
Faculty of Humanities and Social
Sciences

Xavier International College

Boudha, Kathmandu

LETTER OF APPROVAL

This is to certify that I am doing a project entitle "E-Commerce System" under the
guidance of Mr. Taisan Tamang as a supervisor. And this is an in partial
fulfillment of the requirement for the degree of Bachelor of Computer Application
(BCA) at the Faculty of Humanities and Social Science, Tribhuvan University.

………………………………………... ………………………………………...

Mr. Taisan Tamang Mr.


Department of Computer Application Department of Computer
Xavier International College Application Xavier International
College

………………………………………... ………………………………………...
INTERNAL EXAMINER EXTERNAL EXAMINER

iii
ACKNOWLEDGEMENT

Thanks to the contribution and the support of many people, We were able to achieve the
intended objectives of my project "E-Commerce Website". This project report is
prepared for the partial fulfillment of the Bachelor of Computer Application
requirements under the course designed by the Faculty of Humanities and Social
Science, Tribhuvan University. Many people have devoted their precious time and
effort in the course of preparing this report. This is an opportunity for us to extend our
appreciation to all those who have assisted us, whether directly or indirectly.
We are deeply grateful to, Mr. Taisan Tamang for his dedicated effort to continually
guidance throughout the whole semester, thank you for giving us the chance and
academic background as a supervisor. Hence, this "E-Commerce" project was not a
challenge for me, but it was a huge opportunity where I acquired new knowledge that
will help us in the long term. We are truly grateful for his support, assistance, useful
instructions, helpful advice, and his regular guidance to give my best and succeed in
this " E-Commerce" project.
Additionally, I wish to convey our sincere gratitude and warm appreciation to BCA
coordinator and the whole BCA department team of Xavier International College,
Boudha, Kathmandu for guiding us and cooperating greatly to complete the final
project successfully.

iv
Abstract

In the contemporary digital landscape, e-commerce plays a pivotal role in transforming the way
consumers interact with brands and procure goods and services. This project presents the
development of a robust e-commerce website utilizing a combination of PHP, MySQL, HTML,
and CSS technologies. The platform is designed to offer an intuitive user experience while
ensuring efficient back-end management for both administrators and consumers.

By leveraging PHP for server-side scripting, the website enables dynamic content generation and
seamless database interactions, powered by MySQL. The front-end design, crafted with HTML
and CSS, aims to create an engaging interface that enhances user navigation and accessibility.
Not only that but I have also used Fuzzy Search (Levenshtein Distance) algorithm to enchane
user experience.

Keywords: HTML, CSS, PHP, MYSql, E-COMMERCE and Fuzzy Search (Levenshtein
Distance

Table of Contents

1. Introduction..............................................................................................................................1

v
1.2.Problem Statement.....................................................................................................................3
1.3.Objectives..................................................................................................................................4
1.4 Scope and Limitation.................................................................................................................5
1.5. Methodology.............................................................................................................................6
2. Background Study and Literature Review...................................................................................8
3.System Analysis and Design.......................................................................................................10
3.1 System Analysis...................................................................................................................10
3.2 System Design.....................................................................................................................16
3.2.3 Interface Design (UI Interface).........................................................................................18
4.Implementation and Testing........................................................................................................22
4.1 Implementation...............................................................................................................22
4.2 Testing..................................................................................................................................23
5.Conclusion and Further Recommendations................................................................................28
5.1 Lesson Learnt/ Outcome......................................................................................................28
5.2 Conclusion...........................................................................................................................28
5.3 Future Recommendations....................................................................................................29
Appendix........................................................................................................................................30
User Login.................................................................................................................................31
User Registration.......................................................................................................................32
6. References..................................................................................................................................33

Table of Figures
Figure 1.1 Waterfall Model Diagram...............................................................................................6
Figure 2 user case diagram............................................................................................................11

vi
Figure 3 Admin case diagram........................................................................................................11
Figure 4 Gantt Chart......................................................................................................................13
Figure 5 E-R Diagram...................................................................................................................14
Figure 6 DFD Level 0 of the system.............................................................................................15
Figure 7: DFD level 1 of e commerce system...............................................................................15
Figure 8: Architectural Diagram....................................................................................................17
Figure 9: Database shcema design.................................................................................................18
Figure 10: UI Homepage...............................................................................................................19
Figure 11: UI Checkout design......................................................................................................20

List of tables
Table 1: Test case for User registration..........................................................................................24
Table 2: Test case for Admin Login...............................................................................................25
Table 3: Test case for User Login..................................................................................................26

vii
Table 5: Test case for adding new food.........................................................................................26
Table 6: Test case for Ordering food..............................................................................................27

List of Abbreviations
DFD: Data Flow Diagram

HTML: Hypertext Markup Language

CSS: Cascading Style Sheets

PHP: Hypertext Preprocess

UX: User Experience

ER: Entity-Relationship

CASE: Computer-Aided Software Engineering

UI: User Interface

viii
1. Introduction
Introduction: E-commerce, the buying and selling of goods and services over the internet, has
been a rapidly growing industry globally. In the context of Nepal, e-commerce has gained
significant traction in recent years, primarily driven by factors such as increasing internet
penetration, growing digital literacy, and changes in consumer behavior. This literature review
aims to provide an overview of the current state of e-commerce in Nepal by examining existing
research and scholarship on the subject.
E-commerce Landscape in Nepal: Nepal has witnessed a gradual but steady growth in e-
commerce activities over the past decade. Various studies have highlighted the factors
contributing to this growth, including improved internet connectivity, the rise of mobile internet
usage, and the proliferation of online payment systems. A study by Dhakal and Shrestha (2019)
emphasized the role of e-commerce platforms in facilitating transactions between businesses and
consumers in Nepal, noting that platforms such as Daraz and Sasto Deal have become popular
among Nepali consumers.
Challenges and Opportunities: While e-commerce in Nepal holds great promise, it also faces
several challenges. Studies have pointed out issues related to logistics and infrastructure, such as
poor road networks and limited access to delivery services in remote areas. Additionally,
concerns regarding cybersecurity and online payment security have been raised as impediments
to the widespread adoption of e-commerce in Nepal. On the other hand, there are opportunities
for growth, with researchers highlighting the potential for e-commerce to promote
entrepreneurship, create employment opportunities, and bridge the urban-rural divide in Nepal.
Consumer Behavior and Preferences: Understanding consumer behavior is crucial for the success
of e-commerce ventures in Nepal. Studies have explored various aspects of consumer behavior in
the context of online shopping, including factors influencing purchasing decisions, preferred
payment methods, and trust in e-commerce platforms. For instance, a study by Basnet and
Chitrakar (2018) found that factors such as product quality, price, and delivery time are
significant determinants of consumer satisfaction and loyalty in the Nepali e-commerce market.
Regulatory Framework: The regulatory environment plays a crucial role in shaping the e-
commerce landscape in Nepal. Researchers have highlighted the importance of clear and
coherent regulatory frameworks to promote consumer trust, protect intellectual property rights,
and ensure fair competition in the e-commerce sector. Studies have also emphasized the need for
robust data protection laws and enforcement mechanisms to safeguard consumer data and
privacy in the digital age.
Future Directions: Looking ahead, there is potential for further growth and innovation in Nepal's
e-commerce sector. Researchers have proposed various strategies to foster the development of e-
commerce, including enhancing digital literacy, improving infrastructure, and fostering
collaboration between the public and private sectors. Additionally, studies have emphasized the
importance of conducting further research to better understand the evolving dynamics of e-
commerce in Nepal and identify areas for future intervention and policy development.

1
Conclusion: In conclusion, e-commerce in Nepal is a burgeoning industry with immense
potential for growth and innovation. While challenges exist, including logistical barriers and
regulatory uncertainties, there are opportunities for stakeholders to collaborate and drive the
development of a robust e-commerce ecosystem in Nepal. By addressing these challenges and
capitalizing on emerging trends, Nepal can position itself as a key player in the regional e-
commerce landscape.

Electronic Commerce or e-commerce is business transactions that take place through


communication networks. It is a process of buying and selling products, services, and
information over the computer network. E-commerce is a set of dynamic technologies,
applications, and business processes that link organizations, customers, suppliers, and
communities through electronic transactions and the electronic exchange of information products
and services
The main advantage of this system is that it simplifies things for both customers and businesses.
When users access the ordering web page, for instance, directly offers an interactive menu
displayed with current information about what can be chosen on it along with prices adjusting
dynamically according to selections made by users. From there, they can place an order. This
enables one to immediately see what has been chosen and ensures that every item listed was
intended for inclusion in the order.
The convenience of online shopping, coupled with secure payment gateways and fast shipping
options, has made e-commerce a preferred choice for many shoppers. Businesses are leveraging
e-commerce platforms to reach a global audience, personalize shopping experiences, and analyze
consumer behavior to improve their services. In today's fast-paced digital world, e-commerce
continues to evolve, offering endless opportunities for businesses and consumers alike to connect
and transact seamlessly.

2
1.2.Problem Statement
With the Internet being cheaper and easily accessible, people are more exposed to the digital
world which contributes in performing the online transactions saving the time, cost and effort.
However, the online shopping doesn’t work as per expectations all the time. E-Commerce
(online shopping) also brought many problems such as poor quality, defective product,
incomplete information, customer support, late refunds and many more. Similarly, data security
and privacy protection is also a major concern of the customers while performing the e-
commerce transactions. Use and sharing of personal data and information without any consent
can be risky and may lead to cyber-crimes. Sharing of personal information in the form of
messages through e-mails, application etc. also violates customers data protection rights. This is
a sensitive matter as the sharing of personal information can also cause financial losses.

3
1.3.Objectives

 To create E-commerce website using Fuzzy Search Algorithm to enhance search.


 To enable online purchase for the customers.
 To Ensure correct placement of orders through visual confirmation.
 Increase efficiency and improve services through better application of technology in daily
operations with data.

4
1.4 Scope and Limitation

Scope:

 Convenience: Online Shopping can provide customers with the convenience of


ordering products from their preference without the need to visit them
physically.
 Increased Sales: Online Shops can expand their customer base and generate
additional revenue by tapping into the online market. They can reach a wider
audience beyond their physical location.
 Efficient Order Management: These systems help online markets to manage
orders more efficiently by streamlining the process. Orders are received
digitally, reducing the risk of errors associated with phone orders.
 Order Customization: Customers can easily customize their orders, specify dietary
preferences, and make special requests. This enhances the overall experience

Limitations:

 Maintenance and Updates: Ongoing maintenance may require time and resources
that limit the scope of new feature development..
 Dependency on internet: It might restrict usage for individuals with poor internet.
 Geographical limitations: operational constraints could result in restricted delivery
areas or longer delivery times, impacting customer satisfaction.
 Lack of Personal Interaction: Online shopping lacks face-to-face interaction,
which can affect customer satisfaction and the ability to ask immediate questions.
Customers may feel disconnected without personal service.

5
1.5. Methodology

The Waterfall model is a linear and sequential approach to software development,


including e-commerce website projects. It involves distinct phases that must be completed
one after the other, with each phase having specific deliverables and documentation This
model is most effective when the project requirements, goals are typically clear and stable.
Additionally, this small size project not only consider technically sound person but also
consider non-technical person. Hence, in order to build this system, we used this model as
modified waterfall model delivers best ways to be understandable by general people.

Figure 1.1 Waterfall Model Diagram

6
1.6 Report Organization

The report consists of five chapters in which all the phases of application design and
development will be covered.

Chapter One: The chapter introduces the system and the problems and gives an
overview of the study.

Chapter Two: The second chapter covers the background study and the literature
review of the project.

Chapter Three: The third chapter covers the system analysis and design phase of the
application. It explains the methodology used while developing the system.

Chapter Four: The fourth chapter discusses the implementation and testing phase of
the application development.

Chapter Five: The last chapter, which is the fifth chapter, covers the conclusion,
recommendations, and future works to improve this project.

7
2. Background Study and Literature Review

2.1 Background Study:

E-commerce in Nepal has been steadily growing over the years. The country has seen an
increasing number of people turning to online platforms for shopping, payment, and other
services. The growth of e-commerce in Nepal has been driven by factors such as increasing
internet penetration, a growing young population, and the availability of smartphones.
The background of e-commerce in Nepal dates back to the early 2000s, with the emergence of
online shopping websites and digital payment gateways. However, the growth was initially slow
due to challenges such as limited internet infrastructure, low digital literacy, and the dominance
of traditional brick-and-mortar retail.
In recent years, there has been a significant shift towards e-commerce in Nepal. Several local and
international e-commerce platforms have entered the market, offering a wide range of products
and services. The government has also taken steps to promote digital transactions and e-
commerce through policies and initiatives aimed at creating a conducive environment for online
businesses.
The current status of e-commerce in Nepal reflects a growing industry with increasing consumer
trust in online shopping and digital payments. The COVID-19 pandemic further accelerated the
adoption of e-commerce as people turned to online platforms for their shopping needs. Despite
this growth, challenges such as logistics and infrastructure constraints, payment gateway issues,
and the need for improved cybersecurity measures remain.
Overall, the e-commerce landscape in Nepal is evolving, and there is a growing potential for
further expansion and innovation in the sector. Some of the existing E-commerce websites are:
Kathmandumart.com, daraz.com, foreveryoung.com, doko.com, kirana.com, etc and many more.

2.2 Literature Review:


E-commerce in Nepal has witnessed significant growth over the past decade, driven by
advancements in technology and internet penetration. According to a survey by the Nepal
Telecommunications Authority (NTA), internet penetration reached approximately 90% in urban
areas as of 2022 (NTA, 2022). This increase has catalyzed the growth of various e-commerce
platforms such as Daraz, SastoDeal, and Hamro Bazar, enabling consumers to shop for a wide
range of products and services online (Luitel et al., 2020).
The e-commerce sector in Nepal presents substantial opportunities for growth, particularly due to
changing consumer preferences. Multiple studies highlight the increasing acceptance of online
shopping among younger populations (Dhakal, 2021; Baral & Ghimire, 2022). Factors
8
contributing to this trend include convenience, a wide variety of products, and competitive
pricing. The COVID-19 pandemic further accelerated the shift towards online shopping, as
lockdowns prompted consumers to seek safe purchasing options (Khanal, 2021).
Research indicates that consumer behavior in Nepalese e-commerce is influenced by various
factors, including trust, website usability, payment options, and delivery services (Bhatta &
Thapa, 2021). A study by Paudel and Shrestha (2022) found that trust in the e-commerce website
and perceived ease of use significantly impact consumers' intentions to purchase online. The
research also demonstrated that secure payment systems are crucial for fostering consumer
confidence in e-commerce transactions.
Technological advancements, such as mobile payments and digital wallets, have further shaped
the e-commerce landscape in Nepal. Mobile payment solutions like eSewa and Khalti have
gained popularity, allowing users to make online transactions conveniently (Shrestha & Paudel,
2020). These platforms facilitate the growth of e-commerce by providing secure and efficient
payment methods, thus addressing one of the major barriers to online shopping in Nepal.
Despite the opportunities, the Nepalese e-commerce sector faces several challenges. Logistics
and supply chain issues remain significant obstacles due to the country's mountainous terrain and
inadequate infrastructure (Rai et al., 2021). A study by Sharma and Khadka (2022) highlighted
that delivery delays and high shipping costs often deter consumers from engaging in online
shopping. In addition, concerns regarding cybersecurity and data privacy have been noted, with
many potential users hesitant to share personal and financial information online.
The literature indicates that while the e-commerce sector in Nepal is poised for growth, it faces
several challenges that need to be addressed for its sustainable development. Trust, logistics, and
regulatory issues are pivotal concerns that stakeholders must navigate to enhance the e-
commerce ecosystem. Future research should focus on developing strategies to overcome these
challenges and investigate the long-term impact of e-commerce on Nepal's economy.

9
3.System Analysis and Design

3.1 System Analysis


In the process of system designing many steps were taken into consideration. Among those
steps, analyzing the system was one of the major steps. Different functional requirement,
non- functional requirement elicitation and feasibility study was implemented as a part of
system analysis.
3.1.1 Requirement Analysis:
Requirement analysis is a critical phase in the development of an e-commerce website, as it helps
to define the functionalities, user experience, and technical specifications necessary to meet the
stakeholders' needs. Below is a structured approach to performing requirement analysis for an e-
commerce website project.

i. Functional Requirement:
We are creating a simple website for a food ordering system which can be an easy,
convenient, and reliable web app for both the user as well as for the admin. We have come up
with the necessary functional requirements for our web application.

a. User Authentication
Users should be able to create an account and log in securely to access the
site.
b. Display the Menu
The system shall display all available items along with their respective
rates.
c. Managing Menu:
The menu management system will be available only to the admin/s and will, as the
name suggests, allow them to manage the menu that is displayed to users for the
ordering system.
d. Making Orders:
Users order their desired food.

10
Use Case Diagram
A use case diagram serves as a visual representation of the system requirements for a proposed
system. It illustrates the real-world functionalities and actions users perform within the system.
This diagram provides a clear depiction of how the system operates in practical scenarios,
detailing the interactions between actors and various system functions. Specifically, the
presented diagrams outline the fundamental functions required by both the Admin and User

roles.

Figure 2 user case diagram

11
Figure 3 Admin case diagram

ii. Non- Functional Requirement


When it comes to software systems, there are some important things to consider beyond
just what the system does. These non-functional requirements are essential for the system
to work efficiently and effectively, and to meet the needs of its users. Some of these
requirements include performance, scalability, reliability, usability, and security.
Performance requirements are all about how quickly the system responds, how much it
can handle at once, and how efficiently it uses resources. Scalability requirements are
important when the system needs to manage more data or users. Reliability requirements
ensure that the system doesn't have errors and is available when needed. Usability
requirements make sure that the system is user-friendly and easy for people to use.
Finally, security requirements help to keep the system and its data safe from unauthorized
access or attacks.
All of these non-functional requirements are essential for the success of software
systems. They help to ensure that the system is efficient, effective, and meets the needs of
its users.
 Performance
The platform must efficiently manage a high volume of concurrent users without
compromising its performance.
 Security

12
The platform must ensure security by employing encryption, firewalls, and other
measures to safeguard user data, login credentials, and payment information.
 Availability
The platform needs to maintain continuous availability, operating 24/7, and any
scheduled maintenance or downtime should occur during non-peak hours.
 User Experience
The platform’s interface must be intuitive and user-friendly, ensuring easy
navigation with clear instructions and accessible help resources.
 Compatibility
The platform should seamlessly function across various devices and operating
systems, spanning desktops, laptops, tablets, and mobile phones.

3.1.2 Feasibility Analysis

i. Technical:
This project doesn’t require highly technically equipped hardware or any software. It will
use the resources which can be easily available on the market. Basic knowledge of
HTML, CSS, JavaScript, and PHP is efficient to develop this project and a Basic idea of
database is needed to deal with database.
ii. Operational:
People using internet services can access this website. Everyone with basic knowledge
can run this website. One device/user and the internet are enough for the operation of a
website.
iii. Economical:
This project is cost beneficial as only one-time development expenses are needed. Other
than this, data management cost is required if data is to be stored for future use.

Activities 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
w W w w w w w w w w w w w w w

13
Title
Discussion
Project
Confirmatio
n
Proposal
Writing
Planning
Design
Coding
Testing
Implementat
ion
Documentati
on
Figure 4 Gantt Chart

3.1.4 Data Modeling (ER- Diagram)

14
Figure 5 E-R Diagram

15
3.1.5 Process Modeling (DFD Diagram)

Figure 6 DFD Level 0 of the system

Figure 7: DFD level 1 of e commerce system

16
3.2 System Design
System design involves the process of defining the various elements that constitute a system.
This includes determining the overall architecture, creating distinct modules and components,
establishing interfaces for these components to interact, and specifying how data flows through
the system. The main goal of system design is to take the insights gathered from the requirements
and analysis phases and use them to create a well-structured software product.

The aim is to effectively address the needs and demands of a business or organization. This is
achieved by engineering a coherent and smooth operational system. In this section, we will
explore modules, design the database layout, create the user interface, and structure the program.
To aid in the design of the application, a variety of diagrams like use case diagrams, sequence
diagrams, and activity diagrams are employed to illustrate different aspects of the system.

17
3.2.1 Architectural Diagram

Figure 8: Architectural Diagram

3.2.2 Database Schema Design

A database schema embodies the conceptual arrangement of a relational database, either


presented visually or expressed as a collection of regulations referred to as integrity constraints,
which oversee the database's operations. It outlines the relationships among the database's
components, encompassing entities like tables, views, stored procedures, and other elements.
Ordinarily, a database designer formulates a database schema to aid programmers whose
applications will engage with the database.

18
Figure 9: Database shcema design

3.2.3 Interface Design (UI Interface)


The interface design plays a crucial role in ensuring a user-friendly experience for an online
entrance system. During the development phase, the UI design of various pages, such as the
home page, registration page, login page, and dashboard page, is meticulously crafted to
transition from conceptualization to implementation. The home page sets the tone for user
engagement, while the registration page streamlines the onboarding process. The login page
emphasizes security and authentication protocols, and the dashboard page provides real-time
insights and efficient navigation. By prioritizing both aesthetic appeal and functionality, the
interface design aims to elevate the overall user experience, fostering a seamless and engaging
interaction between the user and the online entrance preparation system.

19
Figure 10: UI Homepage

20
Figure 11: UI Checkout design

21
3.3 Algorithm Details

Fuzzy Search (Levenshtein Distance):


Implementing fuzzy search using the Levenshtein Distance algorithm on an e-commerce website
can greatly enhance the user experience by allowing customers to find products even when they
make typographical errors or use different spellings. Here’s a detailed guide on how you can
integrate this functionality into an e-commerce platform.
Steps to Implement Fuzzy Search
i. Database Design:
o Ensure your product database contains relevant fields for the searchable content,
such as product name, description, SKU, and other attributes.
ii. Frontend User Interface:
o Create a search bar where users can enter their queries.
o Consider implementing an autocomplete feature, which can suggest products as
users type.
iii. Backend Implementation:
o Fetch the list of products from the database.
o For each product, calculate the Levenshtein Distance from the user’s input query.
o top-n closest matches to the user.
.

22
4.Implementation and Testing
4.1Implementation
4.1.1 Tools used (Programming languages, Database platforms)
Following are the tools used for the accomplishment of this project:

Languages used.

 HTML
The E-Commerce System uses HTML, to create different webpages and sites. It creates
and structures sections, headings, links, and paragraphs using various tags and elements.
We also defined header, paragraphs, and links of the e-commerce System using HTML.
Here, users and admin register and log in to the System; if it’s successful, the user’s
information is stored in the database. All the details about students are stored in the local
database.
 CSS
In the E-Commerce system, CSS is used for designing different tags of HTML. It is also
used to design different components with the help of class and id. Different CSS is used,
such as inline, internal, and external, to design this system. It is used for defining the
styles of web pages. Using it, we can control the text color, font style, and spacing
between paragraphs, column sizing, layout design and many more.
 PHP
In the E-Commerce, PHP is used for the back-end purpose and for making dynamic web
pages. It is used for server-side scripting purpose to add connectivity to the database and
encrypt the data, and to confirm users to go to certain pages and login pages. It also
includes adding, updating, and deleting the data from the database.

Server

 Apache

In the E-Commerce, Apache server is used to run PHP files and create fast and dynamic
web pages.

Database used.
23
 MySQL
MySQL is used for storing all the information required for the database in the System. It
is used for performing CRUD operations such as creating, deleting, and updating data
from the database as requested by the user.

Documentation Tools

 MS Office
This is used for writing and editing the documentation of Online Food Ordering System.
 Draw.io
This is used to generate diagrams for system analysis and design of E-Commerce System.
Diagrams were created using this tool to save time since all components are available
with drag and drop functionality.

4.2 Testing
Software testing is like checking a computer program or app to make sure it works correctly. It's
a way to figure out if the software is good enough and does what it's supposed to do. This
involves using the program and trying to find any mistakes or problems in it. The goal is to give
people who care about the software a clear picture of how well it works in the real world.

4.2.1 Test Cases for Unit Testing


In unit testing, we designed the entire system in modularized pattern and each module is tested.
Until we get accurate output from the individual module, we work on the same module.

User Registration

24
Table 1: Test case for User registration

S. Test Case Test data Expected Actual Pass/


N Description Result Result Fail
1 Opening http://localhost/project/registration.php Open Open Pass
the System Registration Registration
Page Page
2 Enter Name: Kristina Shrestha Display As Pass
Invalid Username: kristina message: Expected
name, email: [email protected] Please
username, password: 123456
email,
password
and click
register
button
3 Enter Name: 3545kristina Display As Pass
invalid message: expected
name Enter valid
name

5 User enters Username: Kristina Redirect to As Pass


all details Password: 123456 Login page expected

Admin Login

25
Table 2: Test case for Admin Login

S. N Test case Test Data Expected Actual Pass/ Fail


Description Result Result
1 Admin Username: Display As expected Pass
enters admin message:
wrong Password: Invalid
username 12345 username
2 Admin Username: Display As expected Pass
enters admin message:
wrong Password: Invalid
password 123456rf Password
3 Enters Username: Redirect to As expected Pass
correct admin admin
username Password: a dashboard
and 12345
password

User Login

26
Table 3: Test case for User Login

S.N Test case Test Data Expected Actual Pass/ Fail


Description Result Result
1 User enters Username: Display As expected Pass
a wrong Kristina message:
username Password: Username
123456 or password
didn’t match
2 User enters Username: Display As expected Pass
wrong kristina message:
password Password: Username
wrong or password
didn’t match
3 User enters Username: Redirect to As expected Pass
correct kristina Homepage
username Password:
and 123456
password

Test Cases for System Testing

Adding new product

Table 4: Test case for adding new food

Test Case Expected Data Test Result


Click add product button A product has been added Success
Enter Title, description,
price, image, category,.

Test case for ordering

27
Table 5: Test case for Ordering food

Test case Expected Data Test Result


Click order now Order placed Success
Enter quantity, Full name,
phone number, email,
address and click pay now

5.Conclusion and Further Recommendations


5.1 Lesson Learnt/ Outcome
This project is all about creating a website that gives people an idea of the food options at a
restaurant. It also lets them order food online, which is a step toward modernizing and using
28
digital technology. This idea is useful for both customers and restaurants. Customers can order
their favorite meals online and keep tabs on their orders.

 Teamwork
Being a collaborative project, it teaches how to collaborate with others to create the
system. We’ve learned how to divide up the job among the team and deal with issues and
mistakes that arise in this method.
 Problem Solving Skills
Through this project, we have developed a variety of problem-solving abilities as well as
the ability to identify and fix various mistakes that may occur in this system.
 Writing Skills
We have learned how to prepare proposals and documentation related to the project and
also learned to use different case tools for use case diagrams, data flow diagrams, ER-
diagrams, and so on.
 Manage time
The most significant lesson was how to manage time according to the complexity of the
system’s components, or how to prioritize its parts.

5.2 Conclusion
In conclusion, working on this e-commerce website has taught me a lot about building and
managing an online store. I learned how important it is to make the website easy to use, secure,
and attractive to customers. The project also showed me how technology can help businesses
grow and reach more people.
Through this experience, I’ve gained useful skills that will help me in the future, like
understanding what customers want and how to keep improving the website. This project has
been a valuable learning opportunity, and I feel more prepared to work in the fast-growing world
of e-commerce.

5.3 Future Recommendations


 Integrate the payment get ways to go cashless.
 Implement advanced features like real-time order tracking.
 Integrate personalized recommendation based on user preferences.

29
Appendix

Homepage

30
Add to cart page

31
User Login

User Registration

32
Admin Dashboard

33
6. References

[1] A. &. S. Dhakal, "E-commerce in Nepal: Opportunities and Challenges. Journal of Business
and Technology, 7(1), 12-24.," Journal of Business and Technology, 2019.

[2] R. &. C. Basnet, "Consumer Behavior in Online Shopping: A Study of Nepali Consumers.
International Journal of Management and Marketing Research," 2018.

[1] A. &. S. Dhakal, "E-commerce in Nepal: Opportunities and Challenges. Journal of Business
and Technology, 7(1), 12-24.," Journal of Business and Technology, 2019.

[2] R. &. C. Basnet, "Consumer Behavior in Online Shopping: A Study of Nepali Consumers.

34
International Journal of Management and Marketing Research," 2018.

35

You might also like