Professional Documents
Culture Documents
----b&a---
PROJECT REPORT:
WEB APPLICATION
Hanoi, 1/2024
1
Table of Contents
ABSTRACT............................................................................................................................3
1. Project Requirements.............................................................................................................3
2. Project Contributions.............................................................................................................4
1. User stories.............................................................................................................................4
2. Use cases.................................................................................................................................5
4. Activity diagram.....................................................................................................................9
a. User Side..................................................................................................................................................9
b. Admin Side............................................................................................................................................10
c. Buying clothes........................................................................................................................................11
d. View/Edit Clothes (Order)....................................................................................................................12
2. Relational model...................................................................................................................13
IV. Implementation..........................................................................................................14
1. Tools.....................................................................................................................................14
2. Website interface..................................................................................................................14
3. Backend Analysis..................................................................................................................17
V. Source code..................................................................................................................17
VI. Conclusion................................................................................................................17
1. Positive points.......................................................................................................................17
2. Drawbacks............................................................................................................................18
2
ABSTRACT
As a team working on the development of our e-commerce web app for clothing
sales, a thorough problem analysis is crucial. In today's fashion landscape,
customers have a wide array of options when it comes to clothing, including tops,
bottoms, and more. However, we understand that people have diverse preferences
and needs when it comes to their clothing choices. We recognize that the fashion
industry is rapidly evolving, and consumer behavior is changing. Traditional brick-
and-mortar stores are facing stiff competition from the convenience and variety
offered by online shopping. Despite the advantages of e-commerce, there are still
several challenges that need to be addressed.
Customers often find it difficult to navigate the vast array of clothing options,
considering factors like style, brand, size, and occasion. Newcomers to online
fashion shopping may feel overwhelmed or concerned about the quality of
products. As a team, we aim to address these issues. Our customers desire tools to
simplify their shopping experience, such as personalized recommendations and the
ability to compare products easily. We also understand the importance of building
trust, offering clear return policies, and providing valuable information about
sizing and product quality. As a team, we are dedicated to crafting solutions that
enhance the online clothing shopping experience and make our e-commerce
platform a preferred destination for all fashion enthusiasts.
3
- The website application will have a visually appealing design that aligns
with the brand identity and target audience.
2. Project Contributions
2. Use cases
5
3. Detailed User Cases
Use Case UC-1: View articles
Preconditions: The website has a lot of different articles for all customers
Preconditions: The website has a lot of different articles for all customers, and they are available
Postconditions: The customer can add the articles in his basket to buy them or leave the website
¬ 2. The basket contains the article and send an information to the website that 1 article is sold
6
Use Case UC-3: Buy articles
¬ 4. The website print “payment accepted” and give a link to see the detailed of the transaction
The payment did not work è The website print “error of payment” and bring back the customer to
® 1a.
the basket.
The payment did not work because of the website è It print “error of payment please try again later”
¬ 2a.
and bring back the customer to the main page.
7
Preconditions: The customer must have bought the article to write a review about it
¬ 2. The website show the review for all the customer that clicked on the product
¬ 2a. The customer write a false review and didn’t buy the product è we delete the review
Related Requirements: L
® 1. The website owner cancel the transaction because of an error from the customer or something else.
8
4. Activity diagram
- Activity diagram: In Unified Modeling Language (UML), an activity diagram
is a graphical representation of an executed set of procedural system activities
and considered a state chart diagram variation. Activity diagrams describe
parallel and conditional activities, use cases and system functions at a detailed
level.
a. User Side
9
b. Admin Side
10
c. Buying clothes
11
d. View/Edit Clothes (Order)
12
III. Database Design
1. Entity Relationship Model
- An entity relationship model (ER model) is a conceptual representation of
data that describes the relationships between different entities within a
system or organization. In an ER model, entities represent objects or
concepts, and relationships represent the connections between those entities.
2. Relational model
- In the relational model, data is organized into tables, where each table
represents a single entity or relationship. Each table is made up of columns,
which represent attributes or characteristics of the entity or relationship, and
rows, which represent instances or occurrences of the entity or relationship.
- The relationships between tables are established through the use of primary
keys and foreign keys. A primary key is a unique identifier for each row in a
13
table, while a foreign key is a column or set of columns in one table that
refers to the primary key of another table.
14
IV. Implementation
1. Tools
- IDE: Visual Studio
- Programing languages: JAVA, CSS, HTML, SQL,..
- Framework: Angular, Spring Boot
- Running on localhost: + Angular is on localhost: 4200
+ Spring Boot API is on localhost: 8080
2. Website interface
- Login
15
- Home Page
- About
16
- Category
17
- Detal
18
3. Backend Analysis
V. Source code
19
- The lack of knowledge causes the project to lack the necessary features (log-
in, filter,..)
- Still have difficulty in learning new knowledge about technology and
software
- The lack of careful planning makes the product construction not fully
progress compared to the proposed work
20