Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 200 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
200
Dung lượng
7,71 MB
Nội dung
FPT University – Capstone Project Fall 2018 – Building the bids online system MINISTRY OF EDUCATION AND TRAINING FPT UNIVERSITY Capstone Project Document Building the bids online system Group 10 Group members Huỳnh Tịnh – SE62713 Nguyễn Huy Hoàng – SE61758 Phạm Hoàng Phúc Nguyên – SE62075 Hà Trung Kiên – SE61993 Supervisor Hồ Hoàn Kiếm Ext Supervisor N/A Capstone Project Code eBOS - Ho Chi Minh City, 14 December 2018 - FPT University – Capstone Project Fall 2018 – Building the bids online system FPT University – Capstone Project Fall 2018 – Building the bids online system Table of Contents A Introduction 17 Project Information 17 Introduction 17 Current Situation 17 Problem Definition 17 Proposed Solution 18 5.1 5.2 B Feature functions 18 Advantages and disadvantages 18 Functional Requirements 19 Roles and Responsibility 20 Software Project Management Plan 20 Problem Definition 20 1.1 1.2 1.3 Name of this Capstone Project 20 Problem Abstract 20 Project Overview 21 1.3.1 1.3.2 Current Situation 21 The Proposed System 21 1.3.2.1 Website and mobile application for user 22 1.3.2.2 Website for administrator 22 1.3.2.3 Web Services 23 1.3.3 1.3.4 1.3.5 Boundaries of the System 23 Future plans 23 Development Environment 23 1.3.5.1 Hardware requirement 23 1.3.5.2 Software requirement 24 Project organization 24 1.4 1.5 1.6 Software Process Model 24 Roles and responsibilities 25 Tools and Techniques 26 Project Management Plan 26 3.1 3.2 Software development lifecycle 26 Phase Detail 28 3.2.1 3.2.2 3.2.3 Phase 1: Requirements Definition 28 Phase 2: System and Software Design 28 Phase 3: Implementation and Unit Testing 29 FPT University – Capstone Project Fall 2018 – Building the bids online system 3.2.4 3.2.5 3.3 3.4 C Phase 4: Integration and System Testing 29 Phase 5: Operation and Maintenance 29 Task sheet 30 All Meeting Minutes 30 Coding Convention 30 Software Requirement Specification 31 User Requirement Specification 31 1.1 1.2 1.3 1.4 Guest Requirement: 31 Auctioneer Requirement: 31 Bidder Requirement: 31 Admin Requirement: 32 System Requirement Specification 32 2.1 External Interface Requirement 32 2.1.1 2.1.2 2.1.3 2.1.4 2.2 2.3 User Interface 32 Hardware Interface 32 Software Interface 32 Communication Protocol 32 System Overview Use Case 33 List of Use Case 34 2.3.1 Guest Overview Use Case 34 2.3.1.1 2.3.1.2 2.3.1.3 2.3.1.4 2.3.1.5 2.3.1.6 2.3.2 Administrator Overview Use Case 44 2.3.2.1 2.3.2.2 2.3.2.3 2.3.2.4 2.3.2.5 2.3.2.6 2.3.2.7 2.3.2.8 2.3.1 Guest Login 34 Guest Register 35 Guest Search Auctions 37 Guest View Auction’s Details 39 Guest View Bid Transactions 41 Guest View Suggested Auctions 43 Administrator View List of Auctions 45 Administrator Accept Pending Auction 47 Administrator Reject Pending Auction 48 Administrator Search Auctions 50 Administrator Search Users 51 Administrator Activate Users 53 Administrator Restrict Users 54 Administrator View Statistics 55 Auctioneer Overview Use Case 58 2.3.1.1 Auctioneer Create Auction 58 2.3.1.2 Auctioneer View Selling History 60 FPT University – Capstone Project Fall 2018 – Building the bids online system 2.3.1.3 Auctioneer View Winner Contact Information 62 2.3.2 Bidder Overview Use Case 64 2.3.2.1 Bidder Place Bid 64 2.3.2.2 Bidder View Bidding History 66 2.3.2.3 Bidder View Seller Contact Information 69 2.3.3 Authorized User Overview Use Case 70 2.3.3.1 Authorized User Logout 70 2.3.3.2 Authorized Add Address 71 Software System Attribute 73 3.1 3.2 3.3 3.4 3.5 3.6 3.7 Usability 73 Reliability 73 Availability 73 Security 73 Maintainability 73 Portability 73 Portability 74 Conceptual Diagram 74 D Software Design Description 75 Design Overview 75 System Architectural Design 75 Component Diagram 77 Details Description 79 4.1 4.2 Class Diagram 79 Class Diagram Explanation 80 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.2.10 4.2.11 4.2.12 4.3 User 80 Admin 81 Personal member 81 Role 81 UserRole 81 Address 82 Item 82 Auction 82 Category 83 Media 83 Bid 84 MinIncrementRule 84 Sequence Diagram 84 4.3.1 Guest 84 FPT University – Capstone Project Fall 2018 – Building the bids online system 4.3.1.1 4.3.1.2 4.3.1.3 4.3.1.4 4.3.1.5 4.3.2 Administrator 87 4.3.2.1 4.3.2.2 4.3.2.3 4.3.2.4 4.3.2.5 4.3.3 Login 84 Register account 85 Search Auctions 85 View Auction Details 86 View Suggested Auctions 86 Accept Auction 87 Reject Auction 87 Search Users 88 Activate User 88 Restrict User 89 Auctioneer 90 4.3.3.1 Submit Auction 90 4.3.4 Bidder 90 4.3.4.1 Place Bid 90 4.3.5 Auctioneer & Bidder 91 4.3.5.1 View Auction History 91 4.3.5.2 Register address 92 4.3.5.3 View Contact Information 92 4.4 State Machine Diagram 93 User Interface Design 94 5.1 Web admin application user interface 94 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.2 Login 94 View Dashboard 95 View User Management Page 96 View Pending Auctions 97 View List Auctions 98 Web application user interface 99 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.2.10 Login/Register 99 Nav Bar 102 Home Page - List of auctions 102 Submit Auction 105 Search auctions by category 106 Bidding History 108 Selling History 110 Auction Details 112 Search By Keyword Result 115 Register address 116 FPT University – Capstone Project Fall 2018 – Building the bids online system 5.3 Mobile application user interface 117 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.3.8 5.3.9 5.3.10 5.3.11 5.3.12 5.3.13 Database Design 133 6.1 6.2 Entity relationship diagram (ERD) 133 Entity dictionary 134 Algorithms 134 7.1 Automatic bidding 134 7.1.1 7.1.2 7.1.3 7.1.4 7.1.5 7.2 7.3 Definition 134 Define problem 134 Solution 134 Complexity 135 Example 135 Auction’s Time Remaining Consistency Among Clients 137 7.2.1 7.2.2 7.2.3 Define problem 137 Solution 137 Complexity 137 Auction suggestion based on the one that user is currently viewing 137 7.3.1 7.3.2 7.3.3 7.3.4 E Opening Page 117 Login page 118 Update Address 119 Register Account page 120 Home page 121 Auction Details Page 122 Personal page 123 Bidding History page 125 Selling History page 126 Submit Auction page 126 Category page 129 Item By Category page 130 Search page 130 Define problem 137 Solution 137 Complexity 138 Example 138 System Implementation & Test 139 Details Description 139 1.1 1.2 Overview 139 Test approach 139 Database Relationship Diagram 140 FPT University – Capstone Project Fall 2018 – Building the bids online system 2.1 2.2 Test plan 146 3.1 3.2 Physical diagram 140 Data dictionary 141 Features to be tested 146 Features not to be tested 146 System Testing Test Case 146 4.1 Web Application Test Case 146 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.2 Mobile Application Test Case 155 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.3 Register Account 155 Submit Auction 157 View Selling History 159 Place a Bid 160 View Bidding History 163 Admin Web Application Test Case 164 4.3.1 4.3.2 F Register Account 146 Login 147 Submit Auction 148 View Selling History 149 Place a bid 150 View Bidding History 154 Accept Pending Auction 164 Reject Pending Auction 164 Software User’s Manual 164 Installation Guide 164 1.2 Setting up environment: 164 1.2.1 1.2.2 1.3 Deployment at Server side: 165 1.3.1 1.3.2 1.3.3 1.4 Prepare deployment package: 165 Configure Server before deploy 165 Deploy Server 165 Deployment at Client side: 166 1.4.1 1.4.2 1.4.3 Hardware requirement 164 Software requirement 165 Prepare deployment package: 166 Deploy Mobile Application: 166 Deploy Web Application: 166 User Guide 167 2.1 Admin web application 167 FPT University – Capstone Project Fall 2018 – Building the bids online system 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2 User web application 172 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.2.10 2.2.11 2.2.12 2.2.13 2.3 Login 167 View Dashboard 168 View User management 168 View Pending auctions 170 View List of Auctions 171 Login 172 Sign up 173 Register address 174 Logout 175 Search 175 Home page 175 Submit Auction 177 Sort Auctions 179 Filter Auctions 179 View Auction details 180 View Bidding History 181 View Selling History 182 View Contact Information 183 Mobile application for all user 184 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.3.10 2.3.11 2.3.12 2.3.13 Opening 184 Login 185 Register 186 Update address 187 View Home page 188 View Auction details 189 View Personal page 190 Bidding history 192 Selling history 193 Submit auction 194 View category 195 Item by category 196 Search page 197 List of Tables Table - Roles and Responsibility 20 Table - Hardware requirement for server 24 Table - Hardware requirement for web development 24 Table - Hardware requirement for mobile development 24 Table - Software requirement 24 Table - Roles and Responsibilities Details 26 FPT University – Capstone Project Fall 2018 – Building the bids online system Table - Tools and Techniques 26 Table - Software development life cycle 28 Table - Phase 1: Requirements Definition 28 Table 10 - Phase 2: System and Software Design 29 Table 11 - Phase 3: Implementation and Unit Testing 29 Table 12 - Phase 4: Integration and System Testing 29 Table 13 - Phase 5: Operation and Maintenance 30 Table 14 - Conceptual diagram data dictionary 75 Table 15 - Component Dictionary 78 Table 16 - Class Dictionary 80 Table 17 - Class Diagram Explanation 81 Table 18 - Class Diagram Explanation 81 Table 19 - Class Diagram Explanation 81 Table 20 - Class Diagram Explanation 81 Table 21 - Class Diagram Explanation 82 Table 22 - Class Diagram Explanation 82 Table 23 - Class Diagram Explanation 82 Table 24 - Class Diagram Explanation 83 Table 25 - Class Diagram Explanation 84 Table 26 - Class Diagram Explanation 84 Table 27 - Class Diagram Explanation 84 Table 28 - Entity dictionary 134 Table 29 - Bid Increment 135 Table 30 - Example table for viewing history 138 Table 31 - Example table for affinity score 139 Table 32 - Data Dictionary All Tables 141 Table 33 - Data Dictionary 146 Table 34 - Web Application Test Case 147 Table 35 - Web Application Test Case 148 Table 36 - Web Application Test Case 149 Table 37 - Web Application Test Case 150 Table 38 - Web Application Test Case 154 Table 39 - Web Application Test Case 154 Table 40 - Mobile Application Test Case 157 Table 41 - Mobile Application Test Case 159 Table 42 - Mobile Application Test Case 160 Table 43 - Mobile Application Test Case 163 Table 44 - Mobile Application Test Case 163 Table 45 - Admin Web Application 164 Table 46 - Admin Web Application 164 Table 47 - Hardware requirement for Server 164 Table 48 - Hardware requirement for web development 165 Table 49 - Hardware requirement for mobile development 165 10 FPT University – Capstone Project Fall 2018 – Building the bids online system 2.3.3 Register Figure 124 - User mobile application Guide < Sign up > Step Description Fill username in the field: “Tên tài khoản” Fill phone in the field: “Số điện thoại” Fill email in the field: “Email” Fill full name in the field: “Tên đầy đủ” Pick birthdate from the field “Chọn ngày sinh” Fill password in the field: “Mật khẩu” Fill password in the field: “Nhập lại mật khẩu” Click on “Đăng kí” to register Click on “Đăng nhập” to navigate to the Login page Table 71 – User mobile application Guide < Sign up > 186 FPT University – Capstone Project Fall 2018 – Building the bids online system 2.3.4 Update address Figure 125 - User mobile application Guide Step Description Fill name in the field: “Tên” Fill phone in the field: “Số điện thoại” Fill country in the field: “Quốc gia” (Default “Việt Nam”) Fill city in the field: “Thành Phố” Fill address line in the field: “Địa chỉ” Fill district in the field: “Quận” Fill zipcode (postal code) in the field: “Zip Code” Checkbox "Có phải địa giao hàng mặc định" to mark the address as primary ship address Checkbox "Có phải địa nhận hàng mặc định" to mark the address as primary shipping address Click on “Cập nhât” to update the address 10 187 FPT University – Capstone Project Fall 2018 – Building the bids online system 11 Click on “Để sau” to close the popup Table 72 - User mobile application Guide 2.3.5 View Home page Figure 126 - User mobile application Guide Step Description Click on “Tìm kiếm” input to navigate to the Search page Click on “Danh mục” text to show a list of categories Click on any auction to navigate to Auction’s detail page Click on “Trang chủ” tab to navigate to the Home page Click on “Tôi” tab to navigate the Personal page Table 73 – User mobile application Guide 188 FPT University – Capstone Project Fall 2018 – Building the bids online system 2.3.6 View Auction details Figure 11 - User mobile application Guide Step Description Click on “