Web Based E-Commerce Application
Web Based E-Commerce Application
BY
Aashish Kumar Thapa
T.U Roll No.: 8621/18
Kantipur College of Management and Information Technology
May, 2022
Table of Contents
Chapter 1 : Introduction.........................................................................................................................1
1.1 Background..................................................................................................................................1
1.2 Objective of study........................................................................................................................1
1.3 Methodology...............................................................................................................................1
1.3.1 Project Framework..............................................................................................................1
1.3.2 Tools and technology used..................................................................................................1
Chapter 2 : Tasks and activities performed............................................................................................2
2.1 Analysis of task:...........................................................................................................................2
2.1.1 Functional requirement analysis..........................................................................................2
2.1.1.1 Admin Requirements:......................................................................................................2
2.1.1.2 Customer Requirements:.................................................................................................3
2.1.1.3 Other general requirements:...........................................................................................3
2.2 Activities performed:...................................................................................................................4
2.2.1 Database design...................................................................................................................4
2.2.2 Architectural design.............................................................................................................4
2.2.3 Software components:.........................................................................................................5
2.2.3.1 Product management system..........................................................................................5
2.2.3.2 Customer UI.....................................................................................................................9
2.2.3.3 Product ordering system................................................................................................10
2.2.3.4 Price tracking system.....................................................................................................11
2.2.3.5 Product analysis.............................................................................................................12
Chapter 3 : Conclusion.........................................................................................................................15
3.1 Conclusion.................................................................................................................................15
i
List of Figures:
Figure 2-1 : Use case diagram involving the role of ‘administrator (Seller)’................................................2
Figure 2-2 : Use case diagram involving the role of ‘customer’...................................................................3
Figure 2-3 : ER-diagram of database............................................................................................................4
Figure 2-4 : Product view page....................................................................................................................5
Figure 2-5 : product insertion form.............................................................................................................6
Figure 2-6: product update view.................................................................................................................7
Figure 2-7 : product delete view..................................................................................................................8
Figure 2-8 : Customer home page...............................................................................................................9
Figure 2-9 : product view page....................................................................................................................9
Figure 2-10: Customer cart view................................................................................................................10
Figure 2-11 : admin order view..................................................................................................................10
Figure 2-12 : price tracking view................................................................................................................11
Figure 2-13 : best product by order view...................................................................................................12
Figure 2-14 : best product by quantity view..............................................................................................13
Figure 2-15 : best brand view....................................................................................................................14
ii
Chapter 1 : Introduction
1.1 Background
This project is an E-commerce web application that create platform for customer to place an order for
products over the internet using the web browser. The administrators (Seller) then respond to orders
and deliver the product to the end user. This system tries to provide service similar to existing
applications like Amazon, DARAZ to customer as well as conversion of customer’s data to information.
1.3 Methodology
1
Chapter 2 : Tasks and activities performed
2.1 Analysis of task:
Expanding a business on an internet brings advantages like increase in size of market, easy to access
service from anywhere. Above objective is achieved with web application, which contains functional
requirements like product inventory management, easy to use front end UI for customer, order tracking
system, as well as modules to bring information of products like best selling product, product price
tracking system.
Figure 2-1 : Use case diagram involving the role of ‘administrator (Seller)’
2
2.1.1.2 Customer Requirements:
1. To be able to view and place order of a multiple product at a time
2. To be able to maintain cart where multiple product can be placed and removed if necessary
before placing order.
3. To be able to search the product with product name, categories and filter the result with price
range they want.
3
2.2 Activities performed:
4
2.2.3 Software components:
5
Figure 2-5 : product insertion form
6
2.2.3.1.3 Update Product
To update a product admin should follow the link on action column as shown in Figure 2-4 which
redirect to update view that contain filled up html form (Figure 2-6) with all previous data from
database including existing image. Once the admin replace the data with new one and submit, the
previous data will be replaced with new one in database and redirect to the view product page with only
recently updated data.
7
2.2.3.1.4 Delete Product
When delete button of action column of product view (Figure 2-7) is pressed, it triggers confirm box of
JavaScript when ok button is pressed it delete the product data from the database but if cancel button is
pressed it will not delete the product data.
8
2.2.3.2 Customer UI
The objective of customer UI is to create easy to use and understand user interface to provide good user
interface. The home page (Figure 2-8) contains card design that contains category link and respective
link of best selling product of that category. The category link then takes to product page ( Figure 2-9)
that contain all products associated with that category where customer can add the item to cart or
further filter the product as their desire maximum price.
9
2.2.3.3 Product ordering system
The ordering process starts when customer began to add the product on cart which can be achieved by
help of add to cart button as shown in Figure 2-9. The cart data is stored as react-state which will not be
saved if browser or tab is closed. The user can add multiple products at a time; remove from cart before
placing order or increase the quantity of a product they added as shown in Figure 2-10. The customer
are then required to place email and number to contact during order delivery and name to identify
before placing the order. After submit button is clicked the order will be stored in database and user cart
will be cleared. Once the order is placed by the customer using customer UI, the customer data will be
saved in database, the admin can view all the order as shown in Figure 2-11.
10
2.2.3.4 Price tracking system
The objective or this system if to keep track of all the changes in price of a product at updated
timestamp, calculate the timestamp when price or a product is highest, lowest, current price and all the
price at updated timestamp and represented in line graph using google-linechart as shown in Figure 2-
12. Whenever the price of product is updated, the updated price with timestamp is maintained on
different table through which we can get information like seasonal affect on price of product.
11
2.2.3.5 Product analysis
With availability of data about order of products on a database, it is now possible to determine the best
selling product and bestselling brand of product. This helps the seller for inventory management, where
they can add more inventories of best selling product and reduce the inventory of least selling product
or exclude them if they don’t provide business value. The admin can easily access this information from
admin dashboard. Best selling product is categorized by number of order placed (Figure 2-13) on
product or quantity sold (Figure 2-14) and is represented in pre chart with help of google-piechart.
Similar activities are performed for brand as well (Figure 2-15).
12
Figure 2-14 : best product by quantity view
13
Figure 2-15 : best brand view
14
Chapter 3 : Conclusion
3.1 Conclusion
As per the objectives, this application helps the organization to grow on an internet creating platform for
seller to manage, and show their products along with generation of information like best product, best
brand as well as the changes of price of a product.
15