1. Trang chủ
  2. » Giáo Dục - Đào Tạo

Building website to share expertise and provide assistances to practitioners

161 0 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Building Website To Share Expertise And Provide Assistances To Practitioners
Tác giả Nguyen Minh Tri, Phan Thanh Luan, Vo Minh Hung
Người hướng dẫn Phd. Mai Anh Tho
Trường học Ho Chi Minh City University of Technology and Education
Chuyên ngành Information Technology
Thể loại Graduation Thesis
Năm xuất bản 2024
Thành phố Ho Chi Minh City
Định dạng
Số trang 161
Dung lượng 9,8 MB

Cấu trúc

  • CHAPTER 1. INTRODUCTION (7)
    • 1.1. THE URGENCY OF THE TOPIC (7)
    • 1.2. GOAL OF THE TOPIC (7)
    • 1.3. RESEARCH APPROACH AND METHODOLOGY (7)
      • 1.3.1. Research subjects (25)
      • 1.3.2. Research scope (26)
    • 1.4. EXPECTED RESULTS TO ACHIEVE (7)
    • 1.5. SCIENTIFIC AND PRACTICAL MEANING (7)
    • 1.6. ASSIGNMENT (7)
  • CHAPTER 2. THEORETICAL BACKGROUND (7)
    • 2.1. SYSTEM ARCHITECTURE (7)
      • 2.1.1. Back-end side (31)
      • 2.1.2. Front-end side (32)
    • 2.2. SPRING BOOT (7)
      • 2.2.1. Spring Data JPA (36)
      • 2.2.2. Spring Security (38)
      • 2.2.3. Json Web Token (JWT) (38)
    • 2.3. POSTGRESQL (7)
    • 2.4. RESTFUL API (7)
    • 2.5. REACTJS (7)
    • 2.6. AUTOMATION CHATBOT (7)
      • 2.6.1. Definition (45)
      • 2.6.2. Implementation (45)
      • 2.6.3. Chatbot Configuration (46)
  • CHAPTER 3. SYSTEM REQUIREMENTS (7)
    • 3.1. SURVEY (7)
      • 3.1.1. City Gym system (49)
      • 3.1.2. Muscleandstrength.com system (51)
    • 3.2. REQUIREMENTS MODELLING (7)
      • 3.2.1. Function requirements (54)
      • 3.2.2. Non-functional requirements (58)
    • 3.3. U SE CASE (7)
      • 3.3.1. Use case diagram (59)
      • 3.3.2. Use case description (63)
  • CHAPTER 4. SYSTEM ANALYSIS AND DESIGN (7)
    • 4.1. CLASS DIAGRAM (7)
    • 4.2. SEQUENCE DIAGRAM (7)
      • 4.2.1. Sequence login (102)
      • 4.2.2 Sequence register (102)
      • 4.2.3. Sequence change account information (103)
      • 4.2.4. Sequence forget password (104)
      • 4.2.5. Sequence change new password (104)
      • 4.2.6. Sequence create post (105)
      • 4.2.7. Sequence update post (106)
      • 4.2.8. Sequence delete post (107)
      • 4.2.9. Sequence search post (108)
      • 4.2.10. Sequence view exercise (109)
      • 4.2.11. Sequence create exercise (110)
      • 4.2.12. Sequence update exercise (111)
      • 4.2.13. Sequence delete exercise (112)
      • 4.2.14. Sequence create program (113)
      • 4.2.15. Sequence update program (114)
      • 4.2.16. Sequence view program (114)
      • 4.2.17. Sequence delete program (115)
      • 4.2.18. Sequence calculate BMI (115)
      • 4.2.19. Sequence calculate calorie (116)
      • 4.2.20. Sequence assign personal trainer (116)
      • 4.2.21. Sequence track program progress (117)
      • 4.2.22. Sequence update member history (117)
      • 4.2.23. Sequence view member history (118)
      • 4.2.24. Sequence add task (118)
      • 4.2.25. Sequence remove task (119)
      • 4.2.26. Sequence create exercise category (119)
      • 4.2.27. Sequence update exercise category (120)
      • 4.2.28. Sequence view exercise category (120)
      • 4.2.29. Sequence view post detail (121)
      • 4.2.30. Sequence send notification (122)
      • 4.2.31. Sequence view notification list (122)
      • 4.2.32. Sequence view notification detail (123)
      • 4.2.33. Sequence received notifications (123)
    • 4.3. DATABASE DESIGN (7)
      • 4.3.1. Entity relationship diagram (ERD) (124)
      • 4.3.2. Detailed description of table (125)
    • 4.4. USER INTERFACE DESIGN (7)
      • 4.4.1. Home page (130)
      • 4.4.2. Register form (130)
      • 4.4.3. Login form (131)
      • 4.4.4. Blog page (132)
      • 4.4.5. Post detail (133)
      • 4.4.6. Exercise page (134)
      • 4.4.7. Category exercise page (135)
      • 4.4.8. Program page (136)
      • 4.4.9. BMI calculator page (137)
      • 4.4.10. Calorie calculator page (138)
      • 4.4.11. Services advertisement page (139)
      • 4.4.12. Program advertisement detail page (139)
      • 4.4.13. View account profile page (140)
      • 4.4.14. View member physical body history page (140)
      • 4.4.15. Create post form (141)
      • 4.4.16. Create exercise form (142)
      • 4.4.17. Task detail (143)
      • 4.4.18. Assign personal trainer page (143)
      • 4.4.19. Manage members page (144)
      • 4.4.20. Manage blogs (145)
      • 4.4.21. Package (145)
      • 4.4.22. Chat with AI (146)
      • 4.4.23. Notification management (147)
      • 4.4.24. Feedback (148)
  • CHAPTER 5. IMPLEMENTATION AND TESTING (7)
    • 5.1. TOOLS IN PROJECT (7)
    • 5.2. TEST PLAN (7)
      • 5.2.1. Test scenarios (149)
      • 5.2.2. Test result (150)
    • 5.3. DEPLOYMENT (7)
      • 5.3.1. Vercel (153)
      • 5.3.2. Railway (154)
  • CHAPTER 6. CONCLUSION (7)
    • 6.1. ACHIEVEMENT (7)
    • 6.2. ADVANTAGES AND DISADVANTAGES (7)
      • 6.2.1. Advantages (157)
      • 6.2.2. Disadvantages (157)
    • 6.3. FUTURE WORK (7)

Nội dung

Sequence create exercise category .... Sequence update exercise category .... Sequence view exercise category .... Sequence "Create exercise category" .... Sequence "Update exercise cate

INTRODUCTION

RESEARCH APPROACH AND METHODOLOGY

1.5 SCIENTIFIC AND PRACTICAL MEANING 1.6 ASSIGNMENT

CHAPTER 4 SYSTEM ANALYSIS AND DESIGN

SCIENTIFIC AND PRACTICAL MEANING

CHAPTER 4 SYSTEM ANALYSIS AND DESIGN

THEORETICAL BACKGROUND

SYSTEM REQUIREMENTS

SYSTEM ANALYSIS AND DESIGN

IMPLEMENTATION AND TESTING

CONCLUSION

FUTURE WORK

1 04/03/2024 – 17/03/2024 - Research about the current status of fitness in Viet Nam

- Design use case and requirement modelling

2 18/03/2023 – 31/03/2024 - Install tools and environment for coding and testing

- Organize meeting for the whole members to clarify the business requirements of the project

- Write the tasks that need to be done for the project

3 01/04/2024 – 27/04/2024 - Conduct API development based on ideas learned knowledge and documents

- Conduct user interface construction for the system

- Prepare for the midterm report (50% progress)

4 28/04/2023 – 31/05/2024 - Continue to complete the remaining parts

- Write test cases to test system features

- Conduct system testing and handle errors if they appear v

- Preparing data for the application

- Meeting for preparing the presentation of project

Hồ Chí Minh city, June 14, 2024

(Name and signature) Nguyen Minh Tri

Phan Thanh Luan | Vo Minh Hung vi

CHAPTER 4 SYSTEM ANALYSIS AND DESIGN 79

4.4.14 View member physical body history page 118

Figure 1 Technologies using in project 8

Figure 4 Unit test for features 10

Figure 13 Home page Citi Gym 27

Figure 14 Service page Citi Gym 28

Figure 15 Home page of MS 29

Figure 16 Exercise Category page of MS 30

Figure 17 Exercise page of MS 30

Figure 18 Exercise details page of MS 31

Figure 19 Use case for guest 38

Figure 20 Use case for member 39

Figure 21 Use case for personal trainer 40

Figure 22 Use case for admin 40

Figure 26 Sequence "Change account information" 81

Figure 28 Sequence "Change new password" 82

Figure 30 Sequence "Update post" 84 xii

Figure 43 Sequence "Assign personal trainer" 94

Figure 44 Sequence "Track program progress" 95

Figure 45 Sequence "Update member history" 95

Figure 46 Sequence "View member history" 96

Figure 49 Sequence "Create exercise category" 97

Figure 50 Sequence "Update exercise category" 98

Figure 51 Sequence "View exercise category" 98

Figure 52 Sequence "View post detail” 99

Figure 54 View notification list sequence 100

Figure 55 View notification detail sequence 101

Figure 58 Users table (Database design) 103

Figure 59 Member table (Database design) 103

Figure 60 Personal_information_config table (Database design) 103

Figure 61 Personal trainer table (Database design) 104 xiii

Figure 62 Post table (Database design) 104

Figure 63 Tag table (Database design) 104

Figure 64 Post_tag (Database design) 104

Figure 65 Exercise table (Database design) 105

Figure 66 Exercise_category table (Database design) 105

Figure 67 Step table (Database design) 105

Figure 68 Video table (Database design) 105

Figure 69 Image table (Database design) 105

Figure 70 Program table (Database design) 106

Figure 71 Sub_task (Database design) 106

Figure 72 Workout_session (Database design) 106

Figure 74 Userhistory_notification (database design) 107

Figure 83 Category exercise page (cont.) 113

Figure 88 Program advertisement detail page 117

Figure 90 Member physical body page 118

Figure 92 Create exercise form 120 xiv

Figure 94 Assign personal trainer page 121

Figure 102 Back end & Databse deploy 133 xv

Table 1 Table of acronyms xviii

Table 3 Comparation between Spring boot & NodeJS 14

Table 5 Comparation between React & Angular 19

Table 13 Use case "Log in" 43

Table 14 User case "Reset Password" 44

Table 15 Use case “Update account information" 45

Table 16 Use case "Log out" 46

Table 17 Use case "View post" 47

Table 18 Use case “Create post” 48

Table 19 Use case "Update post" 49

Table 20 Use case "Delete post" 50

Table 21 Use case “Search post” 51

Table 22 Use case "View exercise" 52

Table 23 Use case "Search Exercise " 53

Table 24 Use case "Update Exercise" 54

Table 25 Use case "Delete Exercise" 55

Table 26 Use case “Create exercise” 56

Table 27 Use case "Create Program" 57

Table 28 Use case "Update Program" 58

Table 29 Use case "Delete program" 59

Table 30 Use case "View Program" 60 xvi

Table 31 Use case "Calculate BMI" 61

Table 32 Use case "Calculate calorie" 62

Table 33 Use case "Assign personal trainer" 63

Table 34 Use case "Track program progress" 64

Table 35 Use case "Update member history" 65

Table 36 Use case "View member history" 66

Table 37 Use case "Add task" 67

Table 38 Use case "Remove tasks" 68

Table 39 Use case "Create Exercise Category" 69

Table 40 Use case "View exercise category" 70

Table 41 Use case "Update Exercise Category" 71

Table 42 Use case "Delete exercise category" 72

Table 43 Use case send notification 74

Table 44 Use case view notification list 75

Table 45 Use case view notification detail 77

Table 46 Use case received notifcation 78

Table 50 Post detail UI description 111

Table 52 Category exercise UI description 113

Table 53 Category exercise UI description 113

Table 55 Calculate BMI UI description 115

Table 56 Calorie calculator UI description 116

Table 57 Service advertisement UI description 117

Table 58 Create post UI description 119

Table 59 Create exercise UI description 120

Table 60 Task detail UI description 121

Table 61 Assign personal trainer UI description 122 xvii

Table 62 Manage member UI description 122

Table 63 Manage blogs UI description 123

Table 65 Chat with AI UI description 124

Table 66 Notification management UI description 125

2 HTML Hyper Text Markup Language

4 HTTP Hyper Text Transfer Protocol

CHAPTER 1 INTRODUCTION 1.1 THE URGENCY OF THE TOPIC

In recent years, the situation of Vietnamese people leading sedentary and unhealthy lifestyles has become an alarming issue, deeply affecting public health and quality of life According to data from medical studies, the rate of overweight, obesity, and chronic diseases such as diabetes, cardiovascular diseases, and hypertension among Vietnamese people is rapidly increasing One of the main causes of this situation is the lack of physical activity, especially in large urban areas (World Health Organization [WHO], 2021)

In major cities like Hanoi, Ho Chi Minh City, and Da Nang, the fast pace of life and high work pressure cause many people to spend most of their day in the office, sitting in front of computers, with little opportunity for physical exercise (Nguyen & Tran, 2020) Furthermore, the habit of using personal means of transportation such as motorbikes and cars instead of walking or cycling significantly reduces the daily physical activity levels of the population (Nguyen & Tran, 2020) Modern life with the development of technology also contributes to the sedentary lifestyle of Vietnamese people, as many recreational activities such as watching movies, playing games, or browsing social media are performed in a sitting position (Le, 2019)

In addition, an unhealthy diet is also a significant factor contributing to an unhealthy lifestyle According to a report from the National Institute of Nutrition, the rate of overweight and obesity among Vietnamese adults increased from 8.5% in 2010 to 19% in 2023 (National Institute of Nutrition, 2023) Many people consume foods high in fat, sugar, salt, and processed products According to a study by the Ministry of Health, the average Vietnamese person consumes about 10.1 grams of salt per day, double the World Health Organization's (WHO) recommended limit of 5 grams

(Ministry of Health, 2018) Fast food meals, which are low in nutrition, have become a common choice due to their convenience and quick service, especially in busy modern life This habit not only increases the risk of nutritional diseases but also causes many long-term health problems According to a WHO report, the diabetes rate among Vietnamese adults increased from 2.7% in 2002 to 5.7% in 2017, and cardiovascular diseases are now the leading cause of death, accounting for about 33% of total deaths each year (WHO, 2017, WHO, 2023)

Furthermore, the lack of knowledge and awareness about the importance of maintaining a healthy lifestyle also exacerbates this situation Many people do not have the habit of regular health check-ups, do not understand the nutritional value of food, and lack the skills to manage their time to balance work and exercise (Pham, 2021) This requires a comprehensive change from personal awareness to supportive policies from the state (Government of Vietnam, 2020)

To improve the situation, strong and coordinated measures from both the state and the community are needed The state should enhance campaigns promoting the benefits of physical activity and a healthy diet, while also building playgrounds, parks, and sports facilities to encourage people to engage in physical activities Schools need to be more active in physical and nutritional education for students, helping to form healthy living habits from a young age Businesses can play a role by providing opportunities for employees to participate in sports activities and offering healthy meals at work

At the individual level, each person needs to be more aware of the importance of maintaining a healthy lifestyle Making small changes in daily habits, such as walking more, choosing fresh foods, cooking at home, and participating in sports activities, can have a significant positive impact on health

The situation of Vietnamese people leading sedentary and unhealthy lifestyles is a serious issue that requires timely attention and action from multiple sides Only with coordinated cooperation between the state, community, and individuals can we build a healthy and sustainable society This is also why our group chose the topic of “Building a website to share expertise and provide assistance to gymgoers” Through this platform, we aim to provide useful information and detailed guidance on exercises, proper nutrition, and healthy living, thereby encouraging and enabling Vietnamese people to improve their health and enhance their quality of life

The primary purpose of building a website that provides support services for gym-goers is to meet the increasing demand for a healthy lifestyle and effective training in the digital age Through this platform, clients have the ability to access comprehensive information about workout schedules, nutrition, and personal health enhancement strategies The goal is to create an online space where the gym community can share experiences (blogs and exercises) and collectively support each other

Additionally, the website aims to lower barriers for beginners by offering detailed guides, videos, and schedules tailored to individual needs Optimizing workout effectiveness through progress tracking and personal evaluation is also an integral part of this goal The platform will provide information and suggestions to help users maintain a healthy and balanced lifestyle

Ultimately, building the website is not only about creating a useful personal tool but also contributes to the global mission of community health, fostering a positive environment, and supporting the growth of the fitness and health industry The overarching goal is to provide a comprehensive, user-friendly solution and encourage everyone to maintain a healthy lifestyle

Clients: This group includes individuals who are gym-goers or people who want to get a healthier lifestyle and are utilizing the support services provided by the website The research will assess their experience using features such as workout schedules, exercise information, blogs to share knowledge, and tools

Personal Trainers: This category encompasses fitness professionals who utilize the website's services to enhance their training programs and client interactions The research will focus on their experience with features like client management tools, customizable workout plans, nutrition guidance, and any collaborative elements that facilitate communication between trainers and their clients Additionally, the study will explore how the website supports trainers in staying updated on industry trends, accessing educational resources

Administrators: These are individuals responsible for managing and maintaining the entire website system The research will focus on how they manage user accounts, content administration, and data collection to enhance the user experience

The primary focus of this topic is on creating a platform that facilitates the sharing of knowledge and experiences related to healthy living, including exercise, nutrition, and recipes, through blogs The website aims to cater to different user groups by providing tailored workout programs, monitoring progress, and offering comprehensive resources for both novice and experienced users

The website is divided into three main sections: Customer, Personal Trainer, and Admin, each with its own set of core features a) Client Section:

• Knowledge Sharing: Access to blogs and articles about exercise, nutrition, and healthy recipes

• Personalized Training Programs: Users can have personalized workout programs created by personal trainers based on their goals

• Progress Monitoring: Users can track their progress closely with detailed monitoring and optimization

• Beginner Resources: Comprehensive workout routines and nutrition plans tailored for beginners b) Personal Trainer Section:

• Resource Management: Ability to manage blogs, workout routines, and other resources on the system

• Custom Workout Programs: Create individualized workout programs for each client

• Task Management: Create and manage tasks for clients

• Progress Tracking: Monitor clients' workout progress and status c) Admin Section:

• Resource and Data Management: Tools for managing and monitoring system resources and data

• Statistics and User Management: Manage user accounts and access statistics

• Blog Post Approval: Approve blog posts submitted by users or trainers

• System Notifications: Manage system notifications

Ngày đăng: 19/11/2024, 12:22

Nguồn tham khảo

Tài liệu tham khảo Loại Chi tiết
[4] Government of Vietnam. (2020). Policies on public health and nutrition. Ministry of Health. Retrieved May 23, 2024, from[https://moh.gov.vn/web/ministry-of-health/legal-documents ] Link
[8] World Health Organization. (2017). Diabetes report in Vietnam. World Health Organization. Retrieved May 23, 2024,from [https://www.who.int/vietnam/health-topics/diabetes] Link
[9] World Health Organization. (2021). Vietnam health and lifestyle report. World Health Organization. Retrieved May 18, 2024,from [https://www.who.int/europe/news-room/fact-sheets/item/a-healthy-lifestyle---who-recommendations] Link
[10] World Health Organization. (2023). Cardiovascular diseases in Vietnam. World Health Organization. Retrieved May 18, 2024,from [https://www.who.int/vietnam/health-topics/cardiovascular-diseases] Link
[11] Digital, V. (2023, March 12). Increasing obesity rate in Vietnam [Gia tăng t ỷ lệ béo phì tại Việt Nam]. BAO DIEN TU VTV. Retrieved from [https://vtv.vn/xa- hoi/gia-tang-ty-le-beo-phi-tai-viet-nam-20230312200736549.html] Link
[12] CITIGYM - Hệ thống phòng tập Gym, Yoga, Group X Việt Nam. (n.d.). Retrieved from [https://citigym.com.vn/] Link
[13] Muscle & Strength. (n.d.). Retrieved from [https://www.muscleandstrength.com/] Link
[15] Spring Boot. (n.d.). Retrieved from [https://spring.io/projects/spring-boot] Link
[16] Fielding, R. T. (2000). Architectural Styles and the Design of Network-based Software Architectures. Doctoral dissertation, University of California, Irvine.Retrieved from [https://www.ics.uci.edu/fielding/pub/dissertation/rest_arch_style.html] Link
[17] Jones, M., Bradley, J., & Sakimura, N. (2015). JSON Web Token (JWT). Retrieved from [https://tools.ietf.org/html/rfc7519] Link
[1] Hughes, B., & Cotterell, M. (2002). Software project management (3rd ed.) Khác
[3] Jalote, P. (2002). Software project management in practice (Nguyen Cong Danh, Trans., 2013) Khác
[5] Le, V. H. (2019). Impact of Technology on Physical Activity. Vietnamese Journal of Public Health, 24(3), 87-94 Khác
[6] Pham, Q. H. (2021). Health Awareness in Vietnamese Communities. International Journal of Health Education, 13(1), 56-70 Khác
[7] Nguyen, T., & Tran, L. (2020). Urban Lifestyle and Physical Activity in Vietnam. Journal of Health Research, 15(2), 123-135 Khác

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w