MINISTRY OF EDUCATION AND TRAINING HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION GRADUATION THESIS SOFTWARE ENGINEERING CREATING A WEBSITE TO SELL ELECTRONIC MOTORCYCLES INSTRUCTOR: MSc.MAI ANH THO STUDENT: PHAM VO HONG LAM HUYNH NGUYEN KHANG TAN TIEN DAT SKL012408 Ho Chi Minh City, DECEMBER, 2023 MINISTRY OF EDUCATION AND TRAINING HO CHI MINH UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY OF INTERNATIONAL EDUCATION -------------------- CAPSTONE PROJECT CREATING A WEBSITE TO SELL ELECTRONIC MOTORCYCLES Instructor: MSc. Mai Anh Tho Students: Pham Vo Hong Lam 19110154 Huynh Nguyen Khang 19110144 Tan Tien Dat 19110117 Ho Chi Minh City, December - 2023 MINISTRY OF EDUCATION AND TRAINING HO CHI MINH UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY INTERNATIONAL EDUCATION -------------------- CAPSTONE PROJECT CREATING A WEBSITE TO SELL ELECTRONIC MOTORCYCLES Instructor: MSc. Mai Anh Tho Students: Pham Vo Hong Lam 19110154 Huynh Nguyen Khang 19110144 Tan Tien Dat 19110117 Ho Chi Minh City, December – 2023 THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, December 25, 2023 GRADUATION PROJECT ASSIGNMENT Student name: Phạm Võ Hồng Lâm Student ID: 19110154 Student name: Huỳnh Nguyên Khang Student ID: 19110144 Student name: Tân Tiến Đạt Student ID: 19110117 Major: Software Engineering Advisor: MSc. Mai Anh Thơ Date of assignment: 11/09/2023 Date of submission: 25/12/2023 1.
Project title: Creating a website to sell electronic motorcycles 2. Content of the project: - Chapter 1: Introduction. - Chapter 2: Theory Foundation. - Chapter 3: Requirement Capturing and Modeling.
- Chapter 4: System Design. - Chapter 5: Implementation and Testing. Final product: Create a website with full basic functionality: - Search/filter - View product detail information - Cart - Order - Promotion - Payment - Review and rating - Feedback - Order tracking - Administration website - Customer service Create a website with high security and stable operation, the website is designed and built to operate stably, meeting the needs of large traffic. CHAIR OF THE PROGRAM ADVISOR (Sign with full name) (Sign with full name) THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, December 25, 2023 ADVISOR’S EVALUATION SHEET Student name: Phạm Võ Hồng Lâm Student ID: 19110154 Student name: Huỳnh Nguyên Khang Student ID: 19110144 Student name: Tân Tiến Đạt Student ID: 19110117 Major: Software Engineering Project title: Creating a website to sell electronic motorcycles Advisor: MSc.
Mai Anh Thơ EVALUATION 1. Content of the project:. Approval for oral defense? (Approved or denied) .) Ho Chi Minh City, July 10, 2023 ADVISOR (Sign with full name) THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, December 25, 2023 PRE-DEFENSE EVALUATION SHEET Student name: Phạm Võ Hồng Lâm Student ID: 19110154 Student name: Huỳnh Nguyên Khang Student ID: 19110144 Student name: Tân Tiến Đạt Student ID: 19110117 Major: Software Engineering Project title: Creating a website to sell electronic motorcycles Name of Reviewer: Dr. Lê Vĩnh Thịnh EVALUATION 1.
Content and workload of the project. Approval for oral defense? (Approved or denied) .) Ho Chi Minh City, July 10, 2023 REVIEWER (Sign with full name) THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, December 25, 2023 EVALUATION SHEET OF DEFENSE COMMITTEE MEMBER Student name: Phạm Võ Hồng Lâm Student ID: 19110154 Student name: Huỳnh Nguyên Khang Student ID: 19110144 Student name: Tân Tiến Đạt Student ID: 19110117 Major: Software Engineering Project title: Creating a website to sell electronic motorcycles Name of defense Committee Member: EVALUATION 1. Content and workload of the project. Approval for oral defense? (Approved or denied) .) Ho Chi Minh City, July 10, 2023 COMMITTEE MEMBER (Sign with full name) ACKNOWLEDGEMENT First of all, our group would like to send our sincere thanks to Ho Chi Minh City University of Technology and Education for introducing the subject Capstone Project into the curriculum.
Specifically, we want to express our sincere thanks to MSc. Mai Anh Tho, a department instructor who enthusiastically guided and helped me complete this Capstone Project. During the time of taking the course, we have gained a lot of useful knowledge, effective learning spirit, and standards. This will undoubtedly be useful information for us to move forward with confidence.
The subject Capstone Project is the chance for our group to apply the whole knowledge during 4 years at university to this project. Although our group is still trying our best, it is undeniably difficult to prevent mistakes and several faults when writing an essay. Because of limited knowledge, ability and performance, in the process of practicing and perfecting this topic, we inevitably make mistakes, and we look forward to receiving suggestions from the lecturer. TABLE OF CONTENTS CHAPTER 1.
Reason choosing the topic. The objectives of the project. SYSTEM ARCHITECHTURE AND TECHNOLOGY. System design pattern.
Pattern technology implementation. SYSTEM ANALYSIS AND DESIGN. System functional and non-functional requirements. System functional requirements.
Non-functional requirements:. List of Actors and Use Cases. Identify Actors and Use Cases in Use Case diagram. Use Case diagram.
General Use Case diagram. Customer Use Case diagram. Admin Use Case diagram. Master Admin Use Case diagram.
Use Case specifications. Description of Login Use Case. Description of Register Use Case. Description of Manage cart Use Case.
Description of Review Use Case. Description of Search/filter product Use Case. Description of Checkout Use Case. Description of View orders history Use Case.
Description of Manage admin accounts Use Case. Description of Manage customer accounts Use Case. Description of Manage products Use Case. Description of Manage orders Use Case.
Description of Manage discount Use Case. Database table detail. users_otp table. user_reviews table.
products_order_temp table. order_product_lists table. orders_temp table. on_sale_events table.
Modify customer account. Modify admin account. SYSTEM IMPLEMENTATION AND TESTING. Register Step 1 Screen.
Register Step 2 Screen. Register Step 3 Screen. Product Detail Screen. Order History Screen.
Managed Account Screen. Managed Product Screen. Invoice Balenced Screen. Back-end structure .80 TABLE OF FIGURES Figure 1 The Gioi Xe Dien website .3 Figure 2 Dibao website .4 Figure 3 Vinfast website .5 Figure 4 REST architecture .8 Figure 5 General Use Case diagram .18 Figure 6 Customer Use Case diagram .19 Figure 7 Admin Use Case diagram .20 Figure 8 Master Admin Use Case diagram.21 Figure 9 Database ERD schema .26 Figure 10 Class diagram.
32 Figure 11 Login sequence diagram .33 Figure 12 Register sequence diagram.34 Figure 13 Search product sequence diagram .35 Figure 14 Manage cart sequence diagram .35 Figure 15 Checkout sequence diagram.36 Figure 16 Review sequence diagram .36 Figure 17 Import product. 37 Figure 18 Update product sequence diagram. 38 Figure 19 Export product sequence diagram .39 Figure 20 Modify customer sequence diagram. 39 Figure 21 Modify admin account sequence diagram .40 Figure 22 Login Screen .43 Figure 23 Register Screen Step 1 .44 Figure 24 Register Step 2 Screen .45 Figure 25 Register Step 3.
46 Figure 26 Home Screen 1. 47 Figure 27 Home Page 2 .48 Figure 28 Product Screen. 49 Figure 29 Product Detail Screen.49 Figure 30 Cart Screen .50 Figure 31 Checkout Screen .52 Figure 32 Order History Screen .53 Figure 33 Feedback Screen .54 Figure 34 Dashboard Screen .55 Figure 35 Managed Account Screen.56 Figure 36 Manage Product Screen .57 Figure 37 Invoice Balences Screen .58 Figure 38 Managed Coupons Screen .59 Figure 39 Backend - config .60 Figure 40 Backend – controller .61 Figure 41 Backend – cronjob .62 Figure 42 Backend – interface .63 Figure 43 Backend – job. 64 Figure 44 Backend – middlewares .65 Figure 45 Backend – models .66 Figure 46 Backend – routes .67 Figure 47 Backend – services .68 Figure 48 Backend - utils.
69 LIST OF TABLES Table 1 The Gioi Xe Dien website survey table. 3 Table 2 Dibao website survey table .4 Table 3 Vinfast website survey table .5 Table 4 System functional requirement .13 Table 5 Non-functional requirements .14 Table 6 Detailed description .16 Table 7 Login Use Case description .21 Table 8 Register Use Case description .22 Table 9 Manage cart Use Case description .22 Table 10 Review Use Case description .23 Table 11 Search/filter product Use Case description.23 Table 12 Checkout Use Case description .23 Table 13 View orders history Use Case description .24 Table 14 Manage admin account Use Case description .24 Table 15 Manage customer account Use Case description .24 Table 16 Manage products Use Case description .25 Table 17 Manage orders Use Case description. 25 Table 18 Manage promotion Use Case description .25 Table 19 users table .26 Table 20 users_otp table. 27 Table 21 user_reviews table .27 Table 22 products table .27 Table 23 products_order_temp table .28 Table 24 orders table.28 Table 25 order_product_lists table .29 Table 26 orders_temp table.
30 Table 27 promotions table. 30 Table 28 on_sale_events table .31 Table 29 Login Screen Object .43 Table 30 Register Screen Step 1 Object .44 Table 31 Register Step 2 Object .45 Table 32 Register Step 3 Object .46 Table 33 Home Screen 1 Object .47 Table 34 Home Page 2 Object .48 Table 35 Product Screen Object .49 Table 36 Product Detail Screen Object .50 Table 37 Cart Screen Object .51 Table 38 Checkout Screen Object .52 Table 39 Order History Screen Object .53 Table 40 Feedback Screen Object .54 Table 41 Dashboard Screen Object .55 Table 42 Managed Account Screen Object .56 Table 43 Managed Product Screen Object .57 Table 44 Invoice Balences Screen Object .58 Table 45 Managed Coupons Screen Object .59 Table 46 Some main test cases. INTRODUCTION The globe is at a critical turning point where we must adopt a completely new strategy to solve transport-related problems to meet this unparalleled challenge. Traditional modes of transportation based on fossil fuels have become major contributors to a number of important problems such as air pollution, climate change and energy security as the world's population continues to grow.
and urbanization is increasing. Therefore, the use of electric cars is urgent to solve these urgent problems. Electric vehicles, which operate on electricity rather than gas or fuel, have shown promise in solving a number of the most significant worldwide issues. Numerous social, economic, and environmental factors drive this desire, which has the potential to drastically alter the way we move people and goods.
The urgency to tackle climate change, minimize air and noise pollution, improve energy efficiency, and shift to a more sustainable and effective transportation system is what makes the use of electric vehicles necessary. In addition to being environmentally necessary, it is also an essential step in creating a more resilient, wealthy, and health- conscious future for all. The imperative nature of tackling these global issues makes now the perfect moment to adopt electric transportation. This is a route towards a world that is cleaner, more sustainable, and ultimately better.
E-commerce websites have become a powerful force in the business sector in the digital age, changing how businesses run and how customers purchase. These internet markets provide many advantages to companies, customers, and society at large in addition to being practical substitutes for brick-and-mortar stores. One of the most prominent benefits of e-commerce websites is their global reach. No longer confined by geographical boundaries, businesses can now connect with customers worldwide.
Furthermore, e-commerce websites are also convenient and flexible, customers can explore, choose, and buy products whenever they want, from almost anywhere. The option to shop around-the-clock liberates consumers from the limitations of conventional store hours and locations, revolutionizing the shopping experience. E- commerce websites are a vital tool for today's hectic lifestyle since they adjust to the needs of their customers rather than the other way around.