HO CHI MINH UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING ---------------- CAPSTONE PROJECT BUILD AN AGRICULTURAL PRODUCT TRADING SYSTEM Instructor: Nguyen Thien Bao, PhD Students: Pham Viet Anh - 19110151 Tran Dang Khoa - 19110145 Nguyen Le Minh Nhut - 19110100 --- Ho Chi Minh, July 2023 --- SOCIALIST REPUBLIC OF VIETNAM Independence - Freedom – Happiness ******* GRADUATION THESIS Student Name: Pham Viet Anh Student ID: 19110151 Student Name: Tran Dang Khoa Student ID: 19110145 Student Name: Nguyen Le Minh Nhut Student ID: 19110100 1. Major: Software Engineering. Project title: Build an agricultural product trading system. Advisor: Nguyen Thien Bao, PhD.
Original data and documents: - Research and learn Angular, React JS, React Native, Spring Boot. - Research and learn Tensorflow for detecting fruits. - Research and learn MySql for database. Content implementation of the topic: - Learn about Angular, React JS, React Native, Spring Boot, MySql, Material, Tensorlow.
- Building a system of buying and selling agricultural products between merchants and farmers: • For admin: login/logout, view information about farmers, merchants, products, orders, etc… • For farmer: login/logout, manage agricutural products, manage profiles, manage orders, etc… • For merchant: login/logout, find agricutural products, manage profiles, manage orders, etc… INSTRUCTOR Nguyen Thien Bao SOCIALIST REPUBLIC OF VIETNAM Independence - Freedom – Happiness ******* ADVISOR’S EVALUATION SHEET Student Name: Pham Viet Anh Student ID: 19110151 Student Name: Tran Dang Khoa Student ID: 19110145 Student Name: Nguyen Le Minh Nhut Student ID: 19110100 Major: Software Engineering. Project title: Build an agricultural product trading system. Nguyen Thien Bao EVALUATION 1. Content of the project: a.
Theory: Angular, React JS, React Native, Spring Boot, MySQL, Tensorflow. Experiments: - Research renowned websites about agricultural products to decide what features and functions to include in our projects. To determine the project's requirements, identify key points and significant business - build a system to trade agricultural products, meaning a system of buying and selling agricultural products between merchants and farmers. - Discover Angular, SpringBoot, React JS and React Native.
Effectively using additional libraries, apply it to the project. - Build Back-end (with SpringBoot) and front-end (React Native, React JS and Angular). Connect them together libraries to build up the construction of an online can interact between a website and a mobile device with both basic and advanced features. - Use Tensorflow to detect fruit with high-resolution image.
Links: https://github.com/nohoopes/KLTN_K19_CLA_Farmhome 2. Strengths: - The system incorporates seamless file uploading, internet-based hosting, an agricultural detection model, and thorough error testing. - The interface is improved based on instructor feedback for wider user suitability. Statistical indicators are carefully sourced and consulted with experts.
Optimizing simple functions maximizes efficiency and effectiveness. - Contains the basic functions used for trading argicultural products in the “Merchant” and “Farmer” side. - There will be some functions that used to support for the trading. - Collecting data to show the price to the users so thay can know about the price in the market right now.
- Notifications will be sent to the user’s phone to make sure they will notice when there is an event to their orders. - Fruit detection helps users identify different types of fruits, facilitating the easy recording of information through images using a pre-trained model. Weaknesses: - The current system lacks some features such as message, language switching, notification in website, not support for IOS right now in mobile, social media login, etc… - The application's lack of optimization can lead to slower access speed, potential errors, and misclassification of new agricultural products by the machine learning model used for classification. - In real-world scenarios, there may be instances where certain features are missing or insufficient, which can present challenges for users.
- Limited advanced permission management features may compromise system security and control by hindering effective user role and access level management. - The absence of a dedicated reference price management feature for farmers complicates the process of setting competitive prices based on reliable market references. Approval for oral defense? (Approved or denied) .) Ho Chi Minh City, July 2023 ADVISOR (Sign with full name) SOCIALIST REPUBLIC OF VIETNAM Independence - Freedom – Happiness ******* PRE-DEFENSE EVALUATION SHEET Student Name: Pham Viet Anh Student ID: 19110151 Student Name: Tran Dang Khoa Student ID: 19110145 Student Name: Nguyen Le Minh Nhut Student ID: 19110100 Major: Software Engineering. Project title: Build an agricultural product trading system.
Content of the project:. Approval for oral defense? (Approved or denied) .) Ho Chi Minh City, July 2023 REVIEWER (Sign with full name) SOCIALIST REPUBLIC OF VIETNAM Independence - Freedom – Happiness ******* EVALUATION SHEET OF DEFENSE COMMITTEE MEMBER Student Name: Pham Viet Anh Student ID: 19110151 Student Name: Tran Dang Khoa Student ID: 19110145 Student Name: Nguyen Le Minh Nhut Student ID: 19110100 Major: Software Engineering. Project title: Build an agricultural product trading system. Name of Defense Committee Member:.
Content of the project: a. Theory: Angular, React JS, React Native, Spring Boot, MySQL, Tensorflow. Experiments: - Research renowned websites about agricultural products to decide what features and functions to include in our projects. To determine the project's requirements, identify key points and significant business - build a system to trade agricultural products, meaning a system of buying and selling agricultural products between merchants and farmers.
- Discover Angular, SpringBoot, React JS and React Native. Effectively using additional libraries, apply it to the project. - Build Back-end (with SpringBoot) and front-end (React Native and Angular). Connect them together libraries to build up the construction of an online can interact between a website and a mobile device with both basic and advanced features.
- Use Tensorflow to detect fruit with high image. Approval for oral defense? (Approved or denied) .) Ho Chi Minh City, July 2023 COMMITTEE MEMBER (Sign with full name) ACKNOWLEDGEMENT Mr. Nguyen Thien Bao, the instructor of our course, deserves special thanks from our team. Throughout this course, you have constantly assisted us with our difficulties in the study process as well as provided us with excellent feedback and recommendations to help us grow as developers in the future.
As a result, you have become our inspiration for this final project, and we would like to express our gratitude for the opportunity to learn from you in this course. Everyone on our team has various talents, and we have discovered our shortcomings in each other over this final assignment, but we've all managed to face this challenge as a team. As a result, everyone on our team is really grateful for the opportunity to collaborate. Thank you to the teachers in the Faculty for High Quality Training for always being enthusiastic, dedicated, and dedicated to answering our questions.
Besides, we would like to thank our classmates and seniors who did not hesitate to share useful information and experiences to help us improve our thesis. This final project is the result of our tireless efforts throughout the semester. Because we are still novices, we are aware that our design has numerous shortcomings. We welcome any feedback as well as suggestions for improving our project.
We appreciate it. Sincerely! Ho Chi Minh city, July …., 2023 Group Pham Viet Anh Tran Dang Khoa Nguyen Le Minh Nhut TABLE OF CONTENTS CHAPTER 1: INTRODUCTION. Urgency of the topic. The purpose of project.
Object and scope of the study. Why we use it?. Why we use it?. Why we use it?.
Why we use it?. Why we use it?. Why we use it?. Why we use it?.
STATE OF THE ART AND SYSTEM REQUIREMENT MODELING 21 3. State of the art. Non-functional requirements. List of actors and usecases.
Identify actors and use cases in use case diagrams. Description of Login. Description of Edit Account. Description of Register.
Description of View List of agricultural products. Description of View list of agricultural products that farmers own. Description of Search. Description of Order.
Description of Cancel the ordered agricultural product. Description of See the list of ordered agricultural products. Description of Deal new agricultural products’s price. Description of Decision final deal price.
Description of Manage agricultural product. Description of Validate agricultural products. Mobile for merchant. Website for farmer.
Website for admin. 97 CHAPTER 5: IMPLEMENTATION AND TESTING. Overall architecture of the system. Knowledge and skills:.
130 LIST OF TABLES Table 1.Business functional requirements of merchant department .Business functional requirements of farmer department.System functional requirements .Non-functional requirements. Identify actors and use cases in use case diagrams………………………31 Table 2. Description of Login. Description of Edit Account.
Description of Register. Description of View List of agricultural products. Description of View list of agricultural products that farmers own. Description of Search.
Description of Order. Description of Cancel the ordered agricultural product. Description of See the list of ordered agricultural products. Description of Deal new agricultural products’s price.
Description of Decision final deal price. Description of Manage agricultural product. Description of Validate agricultural products. District database table.
Fruit database table. Fruit image database table. History database table. Location database table.
News database table. Order database table. Province database table. Role database table.
Status product database table. Status user database table. User database table. User role database table.
Role database table. List of mobile screens for merchants. Mobile login screen event. Mobile register screen event.
Home screen event. Me screen event. Explore screen event. Search screen event.
Product detail screen event. Payment waiting list event. History list event. Order details screen event.
Notification screen event. Message screen event. Change password screen event. Update profile screen event.
List of message event. Change language screen event. List of website page for farmer. Login page event.
Register page event. Home page event. Prices page event. Products page event.
Update product event. Delete product event. Add product dialog event. Order page event.
Accept order event. Discuss price event. Decline order event. Order with dealing status event.
Order with canceled status event. History page event. Profile page event. Change password event.
List of website page for admin. 98 LIST OF FIGURES Figure 1. General usecase diagram. Usecase for merchant.
Usecase for farmer. Usecase for admin. Login sequence diagram. Register sequence diagram.
Create fruit sequence diagram. Show fruit sequence diagram. Create order sequence diagram. Accept order sequence diagram.
Decline order sequence diagram. Report sequence diagram. Complete sequence diagram. Search fruit sequence diagram.
Database relational diagram. Mobile login screen. Mobile register screen 1. Mobile register screen 2.
Product detail screen. Order bottom sheet. Payment waiting list. Order details screen.
Change password screen. Update profile screen 1. Update profile screen 2. List of message.
Change language screen. Reference price website. Add product dialog. Order with dealing status.
Order with canceled status. Merchant List Page. Merchant detail page. Farmer detail page.
News list page. Category list page. Report list page. Architecture of the system.
Add new product. New product is added. Product details screen. Go to payment waiting list.
Payment waiting list. Negotiating about the new price. Discuss new price and amount. Phone recived notification.
126 CHAPTER 1: INTRODUCTION CHAPTER 1: INTRODUCTION 1. Urgency of the topic Vietnam is an agricultural nation, agricultural products continued to account for a sizable share of the country's exports. The remaining agricultural products were previously mostly consumed at wholesale marketplaces, with purchasing agents in large centers before coming to the market, in addition to being supplied to supermarkets and import-export businesses. The growth of the digital economy has altered how society currently views business.