Final Report
Final Report
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
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.
(Supervisor)
ii
Tribhuvan University
Faculty of Humanities and Social
Sciences
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.
………………………………………... ………………………………………...
………………………………………... ………………………………………...
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
ER: Entity-Relationship
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.
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
4
1.4 Scope and Limitation
Scope:
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
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
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.
9
3.System Analysis and Design
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.
11
Figure 3 Admin case diagram
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.
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
14
Figure 5 E-R Diagram
15
3.1.5 Process Modeling (DFD Diagram)
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
18
Figure 9: Database shcema design
19
Figure 10: UI Homepage
20
Figure 11: UI Checkout design
21
3.3 Algorithm Details
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.
User Registration
24
Table 1: Test case for User registration
Admin Login
25
Table 2: Test case for Admin Login
User Login
26
Table 3: Test case for User Login
27
Table 5: Test case for Ordering food
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.
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