Đồ án HCMUTE: Xây dựng hệ thống thương mại điện tử cho chuỗi nhà hàng

Đồ án nghiên cứu hcmute build an e commerce system for restsurant chains, áp dụng công nghệ tiên tiến, tối ưu giải pháp kỹ thuật cho bài toán .

Chuyên ngành

Information Technology

Tác giả

Ngô Công An

Người đăng

Ẩn danh

Thể loại

graduation thesis

2020

182
0
0

Phí lưu trữ

45 Point

Mục lục chi tiết

MISSION OF GRADUATION THESIS

COMMENTARY OF SUPERVISOR

COMMENTARY OF REVIEWER

MANY THANKS

SUMMARY INFORMATION BY VIETNAMESE

SUMMARY INFORMATION BY ENGLISH

TABLE OF CONTENT

LIST OF ACRONYMS AND ABBREVIATIONS

LIST OF TABLES

LIST OF FIGURES

1. Urgency and objectives of project

1.1. The urgency of project

1.2. Objects, scope and methods of research

1.3. Survey of current status

1.4. Function of sales screen

1.5. Functions of Sales App

1.6. Functionality of App Manager

1.7. Compare Ocha, Kiotviet and Suno

1.8. Introduction to Microservice Architecture

1.9. Advantages and disadvantages of microservices

1.9.1. Advantages of microservices

1.9.2. Disadvantages of microservices

1.10. Introduction to API Gateway

1.11. Microservices architecture used in project

1.12. Overview of ASP

1.12.1. Introduction to ASP

1.12.2. Introduction to Web APIs in ASP

1.12.3. Advantages of ASP.NET Core appied in project

1.13. Introduction to Angular

1.13.1. Compare Angular, ReactJS and VueJS

1.13.2. Angular used in project

1.14. React Native Framework [5]

1.14.1. Introduction to React Native

1.14.2. React Native used in project

1.15. Amazon Elastic Compute Cloud [12]

1.16. Amazon Relational Database

1.17. Introduction to Docker

2. Other technologies and libraries

2.1. Json web token

3. SURVEY OF STATUS AND DETERMINATION

3.1. Survey of current status

3.2. Determination of requirements

3.3. Professional function requirements

3.4. System function requirements

3.5. Non-functional requirements

3.6. Use case diagram

3.7. Use case specification

3.8. Manage order all store

3.9. Create order at store

3.10. Change order status

3.11. Manage chain stores

3.11.1. Add chain store

3.12. View best selling product

3.13. Update amount product

3.14. Manage order at store

3.15. Change order status

4. Create order at store

4.1. Export material to store

4.2. Online ordering and delivery

4.3. In store pickup order

4.4. Import export material

4.5. Create order at shote

4.6. Export materials to store

4.7. Entity relationship diagram

4.8. Description for each table

4.9. Entity relationship diagram

4.10. Description for each table

4.11. Entity relationship diagram

4.12. Description for each table

4.13. Entity relationship diagram

4.14. Description for each table

4.15. Entity relationship diagram

5. Description for each table

5.1. Entity relationship diagram

5.2. Description for each table

5.3. Entity relationship diagram

5.4. Description for each table

5.5. List of screens and screen flows

5.6. Mobile ordering application

5.7. Detailed description of the screens

5.8. Mobile ordering application

5.9. Website ordering application

6. INSTALLATION AND TESTING

6.1. Libraries and software need

6.2. Step by step to deploy

6.3. Libraries and software need

6.4. List of command for install and run projects

6.5. Function of updating personal information

6.6. Function update personal information

6.7. Function confirm order

7. Function add product

7.1. Function confirm order

7.2. Function update personal information

8. CONCLUSIONS AND DEVELOPMENT STRATEGY

Tóm tắt

I. Giới thiệu về hệ thống thương mại điện tử

Hệ thống thương mại điện tử cho chuỗi nhà hàng HCMUTE được xây dựng nhằm đáp ứng nhu cầu ngày càng cao của khách hàng trong việc đặt món ăn và giao đồ ăn trực tuyến. Hệ thống này không chỉ giúp quản lý đơn hàng hiệu quả mà còn tối ưu hóa quy trình thanh toán trực tuyến. Việc áp dụng công nghệ microservices cho phép hệ thống dễ dàng mở rộng và bảo trì, đồng thời cải thiện hiệu suất hoạt động. Theo nghiên cứu, việc sử dụng công nghệ thực phẩmđồ uống trong hệ thống sẽ tạo ra trải nghiệm tốt hơn cho người dùng, từ đó tăng cường sự hài lòng của khách hàng.

1.1. Mục tiêu của hệ thống

Mục tiêu chính của hệ thống là xây dựng một nền tảng thương mại điện tử cho chuỗi nhà hàng HCMUTE, cho phép khách hàng dễ dàng đặt món trực tuyếngiao đồ ăn. Hệ thống sẽ tích hợp các chức năng như đặt món trực tuyến, quản lý đơn hàng, và thanh toán trực tuyến. Điều này không chỉ giúp tăng cường trải nghiệm của khách hàng mà còn hỗ trợ quản lý chuỗi nhà hàng hiệu quả hơn. Hệ thống cũng sẽ cung cấp các công cụ marketing nhà hàng để thu hút khách hàng mới và giữ chân khách hàng cũ.

II. Kiến trúc hệ thống

Hệ thống được xây dựng dựa trên kiến trúc microservices, cho phép các dịch vụ hoạt động độc lập và có thể mở rộng dễ dàng. Mỗi dịch vụ sẽ đảm nhiệm một chức năng cụ thể trong quy trình quản lý đơn hànggiao đồ ăn trực tuyến. Việc sử dụng API Gateway giúp quản lý và điều phối các yêu cầu từ phía khách hàng đến các dịch vụ khác nhau. Điều này không chỉ giúp cải thiện hiệu suất mà còn đảm bảo tính bảo mật cho hệ thống. Theo nghiên cứu, việc áp dụng DockerAmazon Web Services sẽ giúp triển khai và quản lý hệ thống một cách hiệu quả, đáp ứng được lưu lượng truy cập lớn từ người dùng.

2.1. Các thành phần chính của hệ thống

Hệ thống bao gồm các thành phần chính như POS nhà hàng, ứng dụng di động cho khách hàng, và website quản lý cho chủ cửa hàng. Mỗi thành phần sẽ tương tác với nhau thông qua các API, cho phép quản lý chuỗi nhà hàng một cách hiệu quả. Hệ thống cũng sẽ tích hợp các công nghệ như AngularReact Native để phát triển giao diện người dùng thân thiện và dễ sử dụng. Việc sử dụng RESTful APIs sẽ giúp kết nối các dịch vụ một cách linh hoạt và hiệu quả.

III. Thực hiện và triển khai

Quá trình thực hiện dự án bao gồm nhiều bước từ việc phân tích yêu cầu đến triển khai hệ thống. Các bước này bao gồm phân tích yêu cầu, thiết kế cơ sở dữ liệu, và xây dựng giao diện người dùng. Việc sử dụng Docker giúp dễ dàng triển khai các dịch vụ lên môi trường mới và đảm bảo tính ổn định cho hệ thống. Hệ thống cũng sẽ được kiểm tra kỹ lưỡng trước khi đưa vào hoạt động chính thức. Theo kế hoạch, hệ thống sẽ được triển khai trên HerokuAWS, đảm bảo khả năng mở rộng và tính sẵn sàng cao.

3.1. Kế hoạch triển khai

Kế hoạch triển khai bao gồm việc xác định thời gian và các bước thực hiện cụ thể. Các bước này bao gồm phân tích yêu cầu, thiết kế hệ thống, và triển khai. Mỗi bước sẽ được thực hiện theo một lịch trình cụ thể để đảm bảo tiến độ và chất lượng của dự án. Việc sử dụng các công cụ quản lý dự án sẽ giúp theo dõi tiến độ và đảm bảo rằng tất cả các yêu cầu đều được đáp ứng.

IV. Kết quả đạt được

Hệ thống thương mại điện tử cho chuỗi nhà hàng HCMUTE đã đạt được nhiều kết quả tích cực. Hệ thống không chỉ giúp quản lý đơn hàng hiệu quả mà còn cải thiện trải nghiệm của khách hàng khi đặt món trực tuyến. Theo đánh giá, hệ thống đã đáp ứng được lưu lượng truy cập lớn và đảm bảo tính ổn định trong quá trình hoạt động. Việc áp dụng công nghệ microservices đã giúp hệ thống dễ dàng bảo trì và mở rộng trong tương lai.

4.1. Đánh giá hiệu quả

Đánh giá hiệu quả của hệ thống cho thấy rằng việc áp dụng công nghệ hiện đại đã mang lại nhiều lợi ích cho chuỗi nhà hàng. Hệ thống đã giúp tăng cường khả năng quản lý đơn hànggiao đồ ăn trực tuyến, đồng thời cải thiện sự hài lòng của khách hàng. Các số liệu thống kê cho thấy rằng số lượng đơn hàng đã tăng lên đáng kể sau khi hệ thống được triển khai, cho thấy sự thành công của dự án.

Tóm tắt và mô tả trên trang này được tạo với sự hỗ trợ của AI. Nếu bạn thấy nội dung không chính xác hoặc có vấn đề, vui lòng Báo lỗi nội dung.

01/02/2025

Trích đoạn nội dung tài liệu

HO CHI MINH UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING GRADUATE THESIS BUILD AN E-COMMERCE SYSTEM FOR RESTAURANT CHAINS SUPERVISOR: Dr LÊ VĨNH THỊNH STUDENT: NGÔ CÔNG AN STUDENT: ĐÀO XUÂN THỦY SKL 0 0 7 0 4 7 Ho Chi Minh, June 2020 do an HO CHI MINH UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING GRADUATE THESIS BUILD AN E-COMMERCE SYSTEM FOR RESTAURANT CHAINS STUDENT NAME: STUDENT ID NGÔ CÔNG AN 16110002 ĐÀO XUÂN THỦY 16110544 School year: 2016 – 2020 Major: INFORMATION TECHNOLOGY SUPERVISOR: Dr LÊ VĨNH THỊNH Ho Chi Minh, June 2020 do an HO CHI MINH UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING GRADUATE THESIS BUILD AN E-COMMERCE SYSTEM FOR RESTAURANT CHAINS STUDENT NAME: STUDENT ID NGÔ CÔNG AN 16110002 ĐÀO XUÂN THỦY 16110544 School year: 2016 – 2020 Major: INFORMATION TECHNOLOGY SUPERVISOR: Dr LÊ VĨNH THỊNH Ho Chi Minh, June 2020 do an SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom - Happiness ----***---- Ho Chi Minh, July 1st 2020 MISSION OF GRADUATION THESIS Student name Student ID Class Ngô Công An 16110002 16110CLST1 Đào Xuân Thủy 16110544 16110CLST3 Major: Information Technology. Mentor: Dr Lê Vĩnh Thịnh. Contact: +84 938 252 222 Started date: 24/02/2020 Submit date: 01/07/2020 1. Topic name: Build an e-commerce system for restaurant chains.

The figures, the original documents: - Report about “Analysis and design about restaurant supply chain management system” (made from specialized essay by ourselves). - Content: + Compare current store chain management systems. + Research about microservices architecture. + Research about authentication and authorization for microservices.

+ Design an overview architecture for chain management system. - Execution time: 09/09/2019 to 08/12/2019. - Source: https://1drv.ms/b/s!AvSr2F4XIt-fkQ5QnYR_d4sjHf_9 3. Content to implement the project: Theory: - Research about microservices architechture (continue).

- Research about Angular, ASP .NET Core, RESTful APIs, React Native. - Research about Docker Engine, Amazon Web Service and Heroku. - Research about e-commerce business analysis, sales management business. i do an Practice: - Build an e-commerce system for restaurant chains base on microservice architecture.

- Manage services using microservice achitecture, load balancing and system administrator based on Docker Engine platform - Apply cloud computing to manage and build system based on Ubuntu virtual private server. Implementation plan No Time Work 24/02/2020 to Analyze requirements, identify agents and function in 1 01/03/2020 usecase diagrams. 02/03/2020 to 2 Usecase specification, sequence schema, database design. 08/03/2020 09/03/2020 to 3 Database design, streamline processing of functions.

15/03/2020 16/03/2020 to Make a list of screens, describe the screens in detail, and 4 22/03/2020 learn the design pattern. 23/03/2020 to Designing and building a microservice model for the 5 29/03/2020 Project. - Page interface design 30/03/2020 to 6 - Writing the API 05/04/2020 - Map API with corresponding interfaces - Page interface design 06/04/2020 to 7 - Writing the API 12/04/2020 - Map API with corresponding interfaces - Page interface design 13/04/2020 to 8 - Writing the API 19/04/2020 - Map API with corresponding interfaces ii do an - Page interface design 20/04/2020 to 9 - Writing the API 26/04/2020 - Map API with corresponding interfaces - Page interface design 27/04/2020 to 10 - Writing the API 03/05/2020 - Map API with corresponding interfaces - Page interface design 04/05/2020 to 11 - Writing the API 10/05/2020 - Map API with corresponding interfaces 11/05/2020 to 12 Learn socket.io and apply socket.io into the system. 17/05/2020 18/05/2020 to 13 Research, improve more features of the system.

24/05/2020 25/05/2020 to Deploy the system to amazon web services, heroku, 14 31/05/2020 docker. 01/06/2020 to Run the demo on the server, test the functions of the 15 07/06/2020 system. 08/06/2020 to 16 Fix errors arising during the demo process, testing. 14/06/2020 15/06/2020 to Write a report, make a powerpoint, prepare the final steps 17 21/06/2020 for the report.

22/06/2020 to Write a report, make a powerpoint, prepare the final steps 18 01/07/2020 for the report. Products - Food e-commerce website. - Food e-commerce mobile application (Android and IOS). - Website operation management.

HEAD OF INFORMATION TECHNOLOGY SUPERVISOR (Name and signature) (Name and signature) iii do an SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom - Happiness ----***---- COMMENTARY OF SUPERVISOR Student name: Ngô Công An Student ID: 16110002 Đào Xuân Thủy 16110544 Major: Information Technology. Topic name: Build an e-commerce system for restaurant chains. Name of supervisor: Dr Lê Vĩnh Thịnh. On content of topic & workload done:.

Recommend for defense or not?. ) Ho Chi Minh, ………………………………. 2020 SUPERVISOR (Name and signature) iv do an SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom - Happiness ----***---- COMMENTARY OF REVIEWER Student name: Ngô Công An Student ID: 16110002 Đào Xuân Thủy 16110544 Major: Information Technology. Topic name: Build an e-commerce system for restaurant chains.

Name of reviewer:. On content of topic & workload done:. Recommend for defense or not?. ) Ho Chi Minh, ……………………………….

2020 REVIEWER (Name and signature) v do an ASSURANCE We assure this project is our own implementation. We do not copy, use any material or source code of others without specifying the source. We assume responsibility for violations. Ho Chi Minh, June 25th 2020 Đào Xuân Thủy Ngô Công An vi do an MANY THANKS In fact, there is no success that are not associated with support or assistance, whether a lot or a little, directly or indirectly by others.

Now we would like to send this sincere thanks to Dr Lê Vĩnh Thịnh, who has supported and transmitted motivation to us in the process of choosing topics, instructions and comments. Although we do not ask much, but when asking the teacher for help, it is the motivation for us to complete the project, without the instructions and practical experiences of the teacher, I think this project will be difficult to complete and completed on time. Once again, I would like to thank our supervisor. We would like to send our thanks to our fellow students who provided useful information and knowledge to help us improve our topic.

We would also like to thank Dr Lê Vĩnh Thịnh who directly guided us to complete this project. We will not be able to complete without the guidance of the supervisor. Due to lack of experience in designing and building software that applies this relatively new process, it is possible that during construction process, there are many errors and problems, so please understand. Due to limited time, with limited knowledge and many other mistakes, so there will have inevitable problem, so I look forward to receiving your valuable suggestions from everyone for more complete later.

We sincerely thank you. Ho Chi Minh, June 25th 2020 Đào Xuân Thủy Ngô Công An vii do an SUMMARY INFORMATION BY VIETNAMESE 1. Các vấn đề nghiên cứu - Tìm hiểu về Microservices architecture (kiến trúc đa dịch vụ) và so sánh với Monolithic architecture (kiến trúc nguyên khối) để tìm ra những điểm mạnh cho hệ thống thương mại điện tử. - Tìm hiểu về Single page application (Angular), ASP.NET Core, RESTful và React native giải quyết bài toán cho hệ thống cung cấp dịch vụ sử dụng API cho website thương mại điện tử và ứng dụng di động thương mại điện tử đa nền tảng.

- Tìm hiểu về Docker Engine, Amazon Web Service và Heroku ứng dụng cho việc vận hành hệ thống thương mại điện tử đa dịch vụ, đáp ứng được lưu lượng sử dụng và lưu trữ dữ liệu lớn từ người dùng. - Tìm hiểu về nghiệp vụ thương mại điện tử và nghiệp vụ quản lý bán hàng cho chuỗi cửa hàng (bao gồm website, ứng dụng di động và nghiệp vụ quản lý). Các vấn đề phát sinh Cấu hình máy chủ thấp không đủ đáp ứng cho đa dịch vụ chạy cùng một lúc gây tràn bộ nhớ, máy chủ quá tải cho lượng truy cập lớn từ người dùng. Các phương pháp giải quyết vấn đề - Triển khai mở rộng 6 dịch vụ nhỏ của hệ thống lên heroku và sử dụng cổng dịch vụ điều hướng tới các dịch vụ nhỏ giúp cân bằng tải và giảm lưu lượng truy cập tới server.

- Sử dụng Docker giúp dễ dàng triển khai các dịch vụ lên môi trường mới và cấu hình Docker giúp tự động khởi động lại dịch vụ khi gặp sự cố phát sinh, giới hạn dung lượng ram được sử dụng cho từng dịch vụ, từ đó tránh được việc tràn bộ nhớ của máy ảo gây sập máy ảo và ảnh hướng tới các dịch vụ khác cũng như đảm bảo các dịch vụ luôn được sẵn sàng trở lại nếu gặp vấn đề phát sinh. Kết quả đạt được - Hệ thống thương mại điện tử quản lý chuỗi quán ăn, bao gồm: website, ứng dụng di động cho đa nền tảng và website quản lý cho chủ cửa hàng. - Đáp ứng được lưu lượng truy cập lớn từ khách hàng, đáp ứng được yêu cầu cân bằng tải cho từng dịch vụ nhỏ. - Xây dựng được hệ thống dễ dàng bảo trì, phát triển và mở rộng.

viii do an SUMMARY INFORMATION BY ENGLISH 1. Research issues - Research about Microservices architecture and compare with Monolithic architecture to find strengths for e-commerce system. - Research about Single Page Application (Angular), ASP.NET Core, RESTful and React Native to solve problems for provided service system using API for e- commerce websites and multi-platform e-commerce mobile applications. - Research about Docker Engine, Amazon Web Service and Heroku applications for operating a multi-service e-commerce system, meeting a large user request and storing large data.

- Research about e-commerce system and sales management for chain stores (including website, mobile application and website operation management). Issues stem Server have low specifications and it is not sufficient for multiple services running at the same time causing memory overflow, the server is overloaded when received a large request from users. Problem solving methods - Deploying to expand 6 services of the system to heroku and use a service gateway to navigate to services to help load balancing and reduce traffic to the server. - Using Docker makes it easy to deploy services to new environment and configures Docker to automatically restart services when problems arise, limit the amount of ram used for each service, from which avoid memory overflow that causes virtual machine collapse and affect other services as well as ensure services are always available if problems arise.

Achieved results - The e-commerce system for managing restaurant chain, including website, mobile application for multi-platform and website for operation management. - Meet a large request from customers, meet the load balancing requirements for each service. - Building a system that is easy to maintain, develop and expand. ix do an TABLE OF CONTENT MISSION OF GRADUATION THESIS.

i COMMENTARY OF SUPERVISOR. iv COMMENTARY OF REVIEWER. vi MANY THANKS. vii SUMMARY INFORMATION BY VIETNAMESE.

viii SUMMARY INFORMATION BY ENGLISH. ix TABLE OF CONTENT .x LIST OF ACRONYMS AND ABBREVIATIONS. xvi LIST OF TABLES. xvii LIST OF FIGURES.

Urgency and objectives of project. The urgency of project. Objects, scope and methods of research. Survey of current status.

Function of sales screen. Functions of Sales App. Functionality of App Manager. Compare Ocha, Kiotviet and Suno.

Introduction to Microservice Architecture. Advantages and disadvantages of microservices. Advantages of microservices. Disadvantages of microservices.

Introduction to API Gateway. Microservices architecture used in project. Overview of ASP. Introduction to ASP.

Introduction to Web APIs in ASP. Advantages of ASP.NET Core appied in project. Introduction to Angular. Compare Angular, ReactJS and VueJS.

Angular used in project. React Native Framework [5]. Introduction to React Native. React Native used in project.

Amazon Elastic Compute Cloud [12]. Amazon Relational Database. Introduction to Docker .27 xi do an 2.

Nội dung được bảo vệ bản quyền — Tải xuống đầy đủ

Bài viết "Hệ thống thương mại điện tử cho chuỗi nhà hàng HCMUTE" trình bày một cái nhìn tổng quan về việc áp dụng công nghệ thương mại điện tử trong ngành nhà hàng, đặc biệt là tại HCMUTE. Bài viết nhấn mạnh tầm quan trọng của việc xây dựng một hệ thống thương mại điện tử hiệu quả, giúp tăng cường trải nghiệm khách hàng, tối ưu hóa quy trình đặt hàng và thanh toán, cũng như nâng cao khả năng cạnh tranh của chuỗi nhà hàng. Độc giả sẽ nhận thấy rằng việc áp dụng hệ thống này không chỉ mang lại lợi ích về mặt kinh tế mà còn cải thiện sự hài lòng của khách hàng.

Nếu bạn muốn tìm hiểu thêm về các yếu tố ảnh hưởng đến sự tin tưởng của người tiêu dùng trong giao dịch trực tuyến, hãy tham khảo bài viết Luận văn thạc sĩ quản trị kinh doanh các tiền tố và hậu tố của sự tin tưởng của người tiêu dùng trong giao dịch trực tuyến. Ngoài ra, để hiểu rõ hơn về các giải pháp thúc đẩy hành vi mua sắm trực tuyến, bạn có thể đọc bài viết Luận văn thạc sĩ kỹ thuật chuyên ngành quản lý kinh doanh giải pháp thúc đẩy hành vi mua trực tuyến sản phẩm nội thất tại công ty tnhh thương mại thành thái. Cuối cùng, nếu bạn quan tâm đến vai trò của trải nghiệm khách hàng trong thương mại xã hội, bài viết Luận văn thạc sĩ quản trị kinh doanh vai trò trung tâm của trải nghiệm dòng chảy của khách hàng cá nhân trong thương mại xã hội một nghiên cứu trên các website thương mại ngành dịch vụ nhà hàng tại thành phố hồ chí minh sẽ cung cấp cho bạn những thông tin hữu ích. Những tài liệu này sẽ giúp bạn mở rộng kiến thức và hiểu rõ hơn về các khía cạnh khác nhau của thương mại điện tử trong ngành nhà hàng.