Professional Documents
Culture Documents
Board Game Shop Online: Project Assignment Solution
Board Game Shop Online: Project Assignment Solution
Board Game Shop Online: Project Assignment Solution
Record of Changes
Versio Date A* In charge Change Description
n M, D
V1.0 14/9 A MinhVCHE161378 Complete and adjust Overview
*A - Added M - Modified D - Deleted
Contents
Record of Changes 2
I. Overview 4
1. User Requirements 4
GAMS-SRS_v1.0 Page 1 / 20
1.1 Actors 4
1.2 Use Case 4
2. Overall Functionalities 13
2.1 Screens Flow 13
2.2 Screen Descriptions 13
2.3 Screen Authorization 21
2.4 Non-UI Functions 23
3. System High Level Design 24
3.1 Database Design 24
3.2 Code Packages 28
II. Requirement Specifications 30
1. Public Feature 30
1.1 UC-1:View Home Page_Home Page 30
1.2 UC-2:View News List 32
1.3 UC-3:View News Detail 34
1.4 UC-4:View Product List 35
1.5 UC-5:View Product Details 37
UC-5:View Product Details 37
1.6 UC-6:View Cart Contents 39
1.7 UC-7:Provide Contact Details 41
1.8 UC-8: Cart Completion 45
UC-8 Cart Completion 45
1.9 UC-9: Feedback 46
1.10 UC-10:User login 47
1.11 UC-11:User Register 48
1.12 UC-12:Reset Password 49
1.13 UC-13:Change Password 50
1.14 UC-14:User Profile 51
2. Common Feature 52
2.1 UC-2_Login System52
2.1 UC14 - User Profile 53
2.1 UC15 - User Authorization - Manage User Permissions 55
3. Marketing Feature 57
3.* UC-23_Product List 57
3.2 UC-24_Product Details 59
3.3 UC-25_Customer List 60
3.4 UC-26_Customer Details 61
3.5 UC-27_Feedbacks List 62
3.6 UC-28_Feedbacks Details 63
3.7 UC18 - MKT Dashboard - View Marketing Dashboard 64
3.8 UC19 - Posts List - View Blog Post 65
GAMS-SRS_v1.0 Page 2 / 20
3.9 UC20 - Post Details - Read Blog Post 66
3.10 UC21 - Marketing - Slider Details and Blog Post Viewing 68
-None 69
4.Sale Feature 69
4.1 UC-28_Sale Dashboard 69
4.2 UC-29_Browse Orders 70
4.3 UC-30_View Order Details 71
5. Admin Feature 73
5.1 UC-31_Admin Dashboard 73
5.2 UC-32_Browse Users 74
5.3 UC-33_View User Details 75
5.4 UC-34_Manage Settings 77
3.2 UC-6_Register for Payroll Deduction 79
6. Customer Feature 80
6.1 UC16 - My Orders - View Order History 80
6.2 UC17 - Order Information - View Order Information 81
III. Design Specifications 83
1. Public Feature 83
1.1 System Access 83
IV. Appendix 89
1. Assumptions & Dependencies 89
2. Limitations & Exclusions 89
3. Business Rules 89
I. Overview
1. User Requirements
1.1 Actors
# Actor Description
-Admin in a BoardGame website is responsible for managing products, orders, user
accounts, payments, shipping, promotions, security, customer feedback and statistics
1 Admin
to ensure website operations are smooth. out smoothly and efficiently.
- A pivotal role in the system, primarily focusing on facilitating and managing the
sales processes within the project. This actor interacts with the system to ensure the
2 Sale
smooth execution of sales-related tasks and responsibilities
4 Customer - Searching for products, viewing details, comparing prices, reading reviews and
placing orders online.
GAMS-SRS_v1.0 Page 3 / 20
- Add products to cart, make payments, and track the status of their orders.
- Manage personal accounts, change personal information and reset passwords if
necessary.
- Contact the shop to get some advice to buy the product they want.
This is a user who visits the sales website without registering an account or logging in.
They are often people who are interested in shopping for products on the site and may
5 Guest
be considering options.
Specifically:
GAMS-SRS_v1.0 Page 4 / 20
GAMS-SRS_v1.0 Page 5 / 20
GAMS-SRS_v1.0 Page 6 / 20
GAMS-SRS_v1.0 Page 7 / 20
GAMS-SRS_v1.0 Page 8 / 20
b. Descriptions
I
Feature Use case Use case description
D
Allows users to access and view the home page of the
website. This page typically displays featured products,
1 Home Page View Home Page
promotions, and links to other sections of the site. Users can
navigate to various sections from here.
Enables users to browse and access a list of available blogs.
Browse
2 Blogs_News List Users can see the blog titles, summaries, and publication
Blogs_News
dates. They can click on a blog to view its details.
Allows users to view the details of a specific blog post. This
View Blog_News
3 Blog_News Details includes the full blog content, comments, and the option to
Details
leave comments. Users can also share blogs on social media.
Permits users to browse through a list of board game
products. Users can see product thumbnails, names, prices,
4 Products List Browse Products
and short descriptions. Clicking on a product takes them to
the Product Details page.
Enables users to view detailed information about a product.
View Product This includes high-resolution images, a full product
5 Product Details
Details description, customer reviews, pricing, and availability.
Users can add the product to their cart from here.
Allows users to view the contents of their shopping cart.
View Cart They can see a list of added products, their quantities,
6 Cart Details
Contents individual prices, and a total order summary. Users can edit
or remove items in the cart.
Lets users provide contact information during the checkout
Provide Contact
7 Cart Contact process. Users enter their shipping address, payment details,
Details
and any discount codes.
Allows users to complete their purchase and checkout. This
Complete
8 Cart Completion involves verifying payment information, confirming the
Purchase
order, and receiving an order confirmation email.
Allows users to submit feedback or reviews for products.
9 Feedback Submit Feedback Users can rate products, write comments, and submit their
feedback, which may be visible to other users.
User Enables users to log in to their accounts on the website.
10 User Login
Authentication Users provide their username (or email) and password to
GAMS-SRS_v1.0 Page 9 / 20
gain access. Successful login redirects them to their profile
or the last visited page.
Allows new users to create an account on the website. Users
provide personal information such as name, email, and
11 User Register User Registration
password. After successful registration, they may be logged
in automatically.
Permits users to reset their forgotten passwords. Users enter
12 Reset Password Reset Password their registered email address, and a password reset link is
sent to their email.
Allows users to change their current passwords. Users
13 Change Password Change Password provide their old password and a new password, which is
then updated in the system.
Enables users to view and edit their user profile information.
Manage User
14 User Profile Users can update personal details, change their profile
Profile
picture, and manage communication preferences.
GAMS-SRS_v1.0 Page 10 / 20
manage product inventory, and make updates as needed.
Enables administrators to view and edit detailed information
View Product
24 Product Details about a product. This includes images, descriptions, pricing,
Details (admin)
and availability.
Allows administrators to browse a list of registered
Browse
25 Customers List customers. They can see customer names, email addresses,
Customers
and contact information.
Enables administrators to view detailed information about a
View Customer
26 Customer Details specific customer. This includes customer profiles, order
Details
history, and contact details.
Permits administrators to browse a list of submitted
Browse
27 Feedbacks List feedback and reviews. Administrators can see feedback
Feedbacks
ratings, comments, and product associations.
Allows administrators to view detailed information about
View Feedback
28 Feedback Details specific feedback. This includes the feedback text, product
Details
reviewed, and user details.
Provides access to a dashboard for monitoring sales and
29 Sale Dashboard Sales Dashboard revenue. Administrators can view sales analytics, track
revenue trends, and identify top-selling products.
Allows administrators to browse a list of customer orders.
Browse Orders
30 Orders List They can see order details, customer information, and order
(admin)
statuses.
Enables administrators to view detailed information about a
View Order
31 Order Details specific order. This includes a breakdown of products,
Details (admin)
shipping details, and payment information.
Provides access to the main dashboard for website
Admin administration. Administrators can manage users, products,
32 Admin Dashboard
Dashboard orders, settings, and access various other administrative
functions.
Browse Users Allows administrators to browse a list of registered users.
33 Users List
(admin) They can see user profiles, roles, and contact information.
Enables administrators to view detailed information about a
View User
34 User Details specific user. This includes user profiles, activity history,
Details (admin)
and role assignments.
Permits administrators to manage website settings and
Manage Settings
35 Settings List configurations. They can control payment options, shipping
(admin)
policies, and other site-specific settings.
Allows administrators to manage banners related to events, sales,
Event,Sale,Discount Manage Banners
36 and discounts. They can upload banner images, set display dates,
Banner (admin)
and link banners to specific pages.
Enables administrators to manage advertisement banners. They
Manage Ad
37 Advertisment Banner can upload banner images, set display criteria, and track click-
Banners (admin)
through rates.
Allows users to browse the website as a guest without logging in.
40 Guest Browsing Browse as Guest
Guests can view products, blogs, and other publicly accessible
GAMS-SRS_v1.0 Page 11 / 20
content. They cannot access user-specific features.
Enables guests to access help and support resources. They can
Guest Help and Access Guest
41 view FAQ sections, contact customer support, or access self-help
Support Support
articles and guides.
2. Overall Functionalities
2.1 Screens Flow
GAMS-SRS_v1.0 Page 12 / 20
# Featur
e Screen Description
1 Public Home Page Show sliders, hot posts, featured products + the slider with the latest posts, static
contacts/links
- Shown slider information includes its image and title; the user is redirected to the
slider's backlink on his/her clicking
- Shown post information includes its thumbnail, title, brief-info; the user is
redirected to the post's details on his/her clicking
- Shown product information includes its thumbnail, title, brief information; the
user is redirected to the product's details on his/her clicking
2 Public Blogs List This is a pop-up screen which allows the user to enter email & password to login;
on this page, there are also links for user to register new information or reset the
password for the case s/he forget it
3 Public Blog Details This is a pop-up screen which allows the user to register to the system by inputting
following information: full name, user title (Mr, Mrs, Ms,..), email, mobile,
address; User then needs to verify by clicking the link sent via email to him/her
before being able to access the system
4 Public Products List The user input his/her email to receive the reset password link. This link is sent to
the user's email for his/her password resetting.
- On clicking the link, the user is redirected to the password resetting page in which
s/he input new password (twice) for the system access
- Note that the link is only available for a specific time duration as configured in the
system config file.
5 Public Product Implementation of authorization mechanism in the system, including the specify the
Details role of logged-in user, his/her authorized page links (building the displayed menu
items (in the front end) and preventing unauthorized access via enter the links
directly)
6 Public Cart Details This is a pop-up screen which allows the user to edit his/her profile information,
including the registered ones & the avatar image. Please note that s/he is not
allowed to change the email
7 Public Cart Contact This is a pop-up screen which allows the user to change his/her password by
inputting his current password as well as new password (twice)
GAMS-SRS_v1.0 Page 13 / 20
# Featur
e Screen Description
8 Public Cart Show the posts pagination (sorted by updated date, paginated) + the cider with the
Completion post search box, post categories, the latest posts, and static contacts/links; Shown
post information includes its thumbnail, title, brief-info; the user is redirected to the
post's details on his/her clicking
9 Public Feedback Show post details (including title, author, updated date, category, and post details) +
the cider with the post search box, post categories, static contacts/links
10 Common User Login Show the paginated list of posts (include posts' id, thumbnail, title, category, author,
featured, and status information):
- The user can filter the post by category, author, status or search by title
- From each post, the user can choose to hide, show, view, edit it
- The page also have the button/link that allows the user to add new post
11 Common User Register Show detailed post information (thumbnail, category, title, brief information,
content, flag to turn the featurning on/off, status), from that allow the user to input
new post information, view or edit existing post information
12 Common Reset Show the paginated list of sliders (including sliders' id, title, image, backlink,
Password status)
- The user can filter the sliders by the status + search by title or backlink
- For each slider, the user can choose to hide, show, edit it
13 Common Change Show detailed slider information (image, title, backlink, status, notes)
Password
GAMS-SRS_v1.0 Page 14 / 20
# Featur
e Screen Description
14 Common User Profile Show the paginated list of registered users (include users' id, full name,, email, role,
status):
15 Common User Show detailed user information (avatar, full name, gender, email, mobile, role,
Authorization address, status), from that allow the user to add new, view or edit user information
- After adding, new generated login password would be email to the new user
- The admin can only edit/update the role and status of the user
16 Customer My Orders Show the products paginated (sorted by updated date) + the slider with the product
search box, product categories, the latest products, and static contacts/links;
- The user is redirected to the product's details on his/her clicking on the product
- The user can choose to add the product to the cart or to feedback on the product
by clicking the product's Buy & Feedback buttons responsively
17 Customer Order Show product details (including title, category, images, original price, sale price,
Information and product details) + the slider with the product search box, product categories, the
latest products, and static contacts/links
GAMS-SRS_v1.0 Page 15 / 20
# Featur
e Screen Description
18 Marketing Posts List Show the cart details with list of the user's chosen products (including Id, title,
price, quantity, total cost) and the total order price + the slider with the product
search box, product categories, the latest products, and static contacts/links; The
user can
- Change the quantity of each product: the total cost is automatically adjusted
Please note: the user's chosen products from the last browsing session remain in
his/her cart until s/he submits the cart. However, the product prices are updated
with the latest prices in the system
19 Marketing Post Details Show the list of user chosen product (including id, title, price, quantity, total cost),
the total order price and the receiver information (including full-name, gender,
email, mobile, address, notes) for user to edit/input + the slider with the product
search box, product categories, the latest products, and static contacts/links
- In case the user has logged in, the receiver information would be filled with the
user's information
- The user can click the Change button to come back to the Cart Details page for
changing the choosing products, click the Submit button to submit the order before
redirecting user to the Card Completion or Error page (due to technical error or any
out-of-stock product)
GAMS-SRS_v1.0 Page 16 / 20
# Featur
e Screen Description
20 Marketing Sliders List This page show the cart completion notes + the cider with the product search box,
product categories, the latest products, and static contacts/links; Before this page is
shown:
- The customer/user would receive the order confirmation & payment guides via
his/her email. That information is shown on the page also. The payment
information (banking account,...) are taken from the system configuration file
21 Marketing Slider Details On receiving the bought products successfully, the receiver would receive a
confirmation email with the guides to feedback on each of the received product;
Beside, the user/receive could also give the feedback (on a specific product or
general feedback) via the website; The user also call this screen from the system
menu on the header;
The feedback information includes contact information (full name, gender, email,
mobile), rated star, the attached images and the contact's free-format feedback
The page slider is also shown with the product search box, product categories, static
contacts/links;
22 Marketing Products List Show the list of user's orders paginated + the cider with the product search box,
product categories, the latest products, and static contacts/links
- Each order include below information: id, ordered date, product (first product
name & number of other products if any), total cost, status;
- On clicking the link under the order id, user would be redirected to the Order
Information page
GAMS-SRS_v1.0 Page 17 / 20
# Featur
e Screen Description
23 Marketing Product Show the order details, including the information as below + the slider with the
Details product search box, product categories, the latest products, and static contacts/links
- This list of ordered products, each product include following information & the
links/buttons that allow the user to re-buy or feedback: thumbnail, name, category,
unit price, quantity, total cost
For the submitted orders, the user can choose to update (redirect the user to the Cart
Details page for that) or cancel the order
24 Marketing Customers Show statistics of posts, products, customers, feedbacks & the trend of new
List customers by day for the last 7 days (the start date & end date can be adjustable)
25 Marketing Customer Show the paginated list of products (include products' id, thumbnail, title, category,
Details list price, sale price, featured, and status information):
- The user can filter the product by category, status or search by title, brief info
- From each product, the user can choose to hide, show, view, edit it
- The page also have the button/link that allows the user to add new product
26 Marketing Feedbacks Show detailed product information (thumbnail, category, title, brief information,
List attached images, description, quantity, list price, sale price, flag to turn the
featurning on/off, status), from that allow the user to input, view or edit them
GAMS-SRS_v1.0 Page 18 / 20
# Featur
e Screen Description
27 Marketing Feedback Show the list of customers / contacts paginated (include contacts' id, full name,
Details gender, email, mobile, status):
- The user can filter the customers by status + search by full name, email, mobile
- From each customer, the user can choose to add new, view or edit it
28 Sale Sale Show detailed customer/contact information (full name, gender, email, mobile,
Dashboard address, status), from that allow the user to input, view or edit them (excep for the
status which is generated automatically - contact, potential or customer)
Besides, the screen also shows the list of customer/contact changes history in the
form of a table which includes following columns: email, full-name, gender,
mobile, address, updated by, updated date
29 Sale Order List Allows Sales personnel to access and browse a list of customer orders. They can
view detailed order information, customer details, and order statuses. This use case
empowers Sales personnel to efficiently manage and review customer orders.
30 Sale Order Details It offers a comprehensive view of individual orders, including item details,
quantities, prices, status, customer information (name, email, phone, address),
shipping specifics, payment method, and an order history log. This feature
simplifies order management and processing.
31 Admin Admin Show the trend of success/total orders, and the revenues trends by day for the last 7
Dashboard days for all or a specific salesperson (the start date, end date, sale, order status can
be adjustable)
GAMS-SRS_v1.0 Page 19 / 20
# Featur
e Screen Description
32 Admin Users List User List" allows administrators (Admins) to access and manage the list of users
registered on the website. Admins have the ability to view detailed information
about users, including their personal information, roles, and contact information .
33 Admin User Details Show the order details, including the following information:
- Basic order information: order id, customer full name, email, mobile, order date,
total cost, sale name, status
Sale Manager & the assigned Sale can change the order status & the sale notes
34 Admin Settings List Show statistics of new orders (success, canceled, submitted), revenues (total, by
product categories), customers (newly registered, newly bought), feedbacks
(average star: total, by product categories) & the trend of order counts (success, all)
by day for the last 7 days (the start date & end date can be adjustable)
GAMS-SRS_v1.0 Page 20 / 20
# Featur
e Screen Description
Show detailed user information (type, value, order, description, status), from that
allow the user to add new, view or edit setting information
In which:
● Admin: the organization leader/manager, acts as the system administrator
● Guest: unregistered users
● Customer: they are registered users who are actual customers or potential customers
● Marketing: the marketing members of the organization
● Sale: the sale members of the organization
● Sale Manager: the sale manager in the organization
Home Page x x x x x x
Blogs List x x x x x x
Blog Details x x x x x x
Products List(Public) x x x x x x
Product Details(Public) x x x x x x
Cart Details x
Cart Contact x
Cart Completion x
GAMS-SRS_v1.0 Page 21 / 20
Feedback x
User Login x
User Register x
Reset Password x
Change Password x x x x x
User Profile x x x x x
My Orders x
Order Information x
MKT Dashboard x
Posts List x
Post Details x
Sliders List x
Slider Details x
Products List(Marketing) x
Product Details(Marketing) x
Customers List x
Customer Details x
Feedbacks List x
Feedback Details x
Sale Dashboard x x
Admin Dashboard x
Users List x
User Details x
GAMS-SRS_v1.0 Page 22 / 20
Settings List x
Setting Details x
GAMS-SRS_v1.0 Page 23 / 20
I
Feature System Function Description
D
packing slips, and shipping labels for the fulfillment team.
It ensures that orders are processed accurately and
efficiently, enhancing customer satisfaction.
The UpdateProductReviews function manages user-
generated reviews and ratings for board game products. It
allows users to submit and edit reviews, rate products, and
view reviews from other customers. This function
User Review
5
and Rating
UpdateProductReviews calculates average product ratings and displays them on
product detail pages. It also includes moderation features
to monitor and filter inappropriate or spammy content.
User reviews and ratings enhance the shopping experience
and help customers make informed decisions.
The SendEmailNotifications function is responsible for
sending email notifications to users. It covers various
scenarios, including order confirmations, password resets,
shipping updates, and promotional campaigns. This
Email
6
Notification
SendEmailNotifications function ensures that users receive timely and relevant
email communications from the website. It also handles
subscription preferences, allowing users to opt in or out of
specific email categories. Proper email notifications
enhance user engagement and keep customers informed.
The ProductSearch function provides search and filtering
capabilities for board game products. It allows users to
search for products based on keywords, categories, and
Search and filters such as price range and game genre. This function
7
Filtering
ProductSearch
interfaces with the product database and returns relevant
search results. It enhances the user experience by
simplifying product discovery and helping customers find
the games they are interested in.
GAMS-SRS_v1.0 Page 24 / 20
b. Table Descriptions
No Table Description
01 Categories caid integer
caname nvarchar(150)
GAMS-SRS_v1.0 Page 25 / 20
quantity integer
pubid integer
saled integer
isDiscount bit
isSoldout bit
csid integer
GAMS-SRS_v1.0 Page 26 / 20
address nvarchar](50)
phonenumber nvarchar(50)
acid nvarchar (50)
Primary key: aaid
GAMS-SRS_v1.0 Page 27 / 20
Package descriptions
No Package Description
01 Member_authorit <Description of the
y package>
02 registration <Description of the
package>
03 …
GAMS-SRS_v1.0 Page 28 / 20
UC ID and UC-1:View Home Page_Home Page
Name:
news, or any dynamic elements on the page.
5. User Interface Ready: The user interface for the home page must be
developed and ready for display to the user.
Postconditions: 1. Home Page Displayed: The home page has been successfully displayed to
the user with all the necessary content and user interface elements.
2. User Can View Content: The user can view the content on the home page,
such as articles, products, general information, etc.
3. Data Updated (if needed): If the home page displays dynamic data, such as
the latest information, featured products, news, the data has been updated to
reflect the latest information.
4. Access Rights Checked (if needed): The system has checked the user's
access rights to ensure they have permission to view the home page.
5. System State Normalized (if prior errors occurred): If there were system
errors or issues before, the system state has been restored to normal after the
user views the home page.
6. Errors and Notifications (if errors occurred): If there were errors during
the process of viewing the home page (e.g., data errors, UI issues), the user
has been notified of the error and provided with guidance or contact
information for issue resolution.
7. Load Time and Performance (if relevant): Information regarding page
load times and performance may be recorded for monitoring and
optimization purposes.
GAMS-SRS_v1.0 Page 29 / 20
UC ID and UC-1:View Home Page_Home Page
Name:
after user login.
2. Homepage Content: Provide details about what types of content are
typically found on the home page. This may include featured products,
announcements, news, promotional banners, navigation menus, search bars,
and more.
3. Homepage Customization: Some websites allow users to customize their
home page experience, such as selecting preferred topics, layouts, or
widgets. Mention if such customization options exist.
Assumptions: User Authentication: It is assumed that users have already logged in to the
application or website before accessing the home page. This use case does
not handle the login process.
Existing User Interface: It is assumed that there is an existing user
interface or homepage that has been developed and is ready for display to
users.
b. Business Rules
ID Business Rule Business Rule Description
FR
Access Rule Users must be logged in to view the home page.
1
Different roles may exist (e.g., regular users, administrators, editors).
FR Access Business rules should ensure that only users with valid permissions can
2 Permissions view the home page or specific content sections.
The home page may contain dynamic content such as the latest articles,
FR Dynamic
best-selling products, recent news, etc. Business rules need to ensure that
3 Content Display
this content is updated and displayed correctly.
1.2 UC-2:View News List
a. Functional Description
UC ID and UC-2:View News List
Name:
Created By: MinhVC Date Created: 16/Jun/2023
Primary Actor: Guest/User Secondary Actors: Admin/Sale/Maketing
Trigger: 1. User Clicks on "News" or "Articles" Tab: The user selects a specific tab
or menu option dedicated to news or articles, indicating their intention to
view a list of news articles.
2. User Performs a Search: The user enters search criteria related to news
articles and submits the search query, leading to the display of a list of
relevant news articles.
3. User Navigates to a News Section: If the application or website has
dedicated sections for news (e.g., sports news, tech news), the user may
navigate to one of these sections, triggering the display of news articles in
that category.
4. Scheduled News Feed: In some cases, the system may automatically trigger
the display of a news list based on a scheduled update or a specific event
GAMS-SRS_v1.0 Page 30 / 20
UC ID and UC-2:View News List
Name:
(e.g., daily news feed, breaking news alerts).
5. User Request for Notifications: If the user has requested notifications for
new articles, the system may notify the user when new articles are available,
leading to the display of the news list.
6. User Scrolling: In a continuous scroll or infinite scroll design, when the
user reaches the end of the current list of articles, the system may load
additional articles, triggering the display of more news items.
Description:
The "View News List" use case involves users accessing a list of news articles or
updates on a website or application. Users can browse through a collection of news
items to stay informed about recent developments, articles, or announcements. This
use case is common on news websites, blogs, and content-driven platforms.
Alternative If the user's access permissions are insufficient, the system may deny access
Flows: and display an error message.
If there are no news articles available, the system may display a message
indicating that there are no articles to show.
In the case of a search-triggered flow, the system may filter and display only
relevant articles based on the user's search criteria.
If the system encounters errors in retrieving or displaying news articles, it
may generate error messages and prompt the user to retry or contact support.
GAMS-SRS_v1.0 Page 31 / 20
UC ID and UC-2:View News List
Name:
Frequency of High
Use:
Business FR1, FR2, FR3
Rules:
Other Website Visitor/Registered User: Interested in accessing news articles and
Information: updates to stay informed about recent events or topics of interest.
System: Responsible for retrieving and displaying news articles in a user-
friendly format, providing navigation options, and ensuring a seamless
reading experience.
b. Business Rules
ID Business Rule Business Rule Description
FR Only authenticated users are allowed to view the news list to
1 Access Control: ensure privacy and access control.
The news list can be sorted by criteria such as date, popularity,
category, or user preference. This rule defines the default sorting
FR
Sorting order and user options for reordering.
2
GAMS-SRS_v1.0 Page 32 / 20
UC ID and View News Detail
Name:
news article from the list of news articles.
Description: Allows users to view the details of a specific blog post. This includes the full blog
content, comments, and the option to leave comments. Users can also share
Blogs_News on social media.
Preconditions: The user must be logged into the system (if required for access).
The system must be operational and accessible.
The specific news article that the user wishes to view must exist and be
accessible.
Postconditions: The user has successfully viewed the detailed content of the selected news
article.
The user may choose to interact further with the article or return to the
news list.
Normal Flow 1. The user initiates the use case by selecting a news article from the list of
news articles.
2. The system retrieves the detailed content of the selected news article.
3. The system displays the detailed news article content, including the article's
title, text, images, and any additional information.
4. The user can read, scroll, and interact with the detailed news article content,
such as viewing images, following links, or sharing the article.
Alternative If the user's access permissions are insufficient, the system may deny access
Flows: and display an error message.
If the selected news article does not exist or is inaccessible, the system may
display an error message.
b. Business Rules
ID Business Rule Business Rule Description
FR Access Control: Only authenticated and authorized users can view detailed
1 news articles.
Some news articles may be marked as "premium" and
accessible only to users with specific subscription levels or
GAMS-SRS_v1.0 Page 33 / 20
premium access.
Description: Permits users to browse through a list of board game products. Users can see
product thumbnails, names, prices, and short descriptions. Clicking on a product
takes them to the Product Details page.
Preconditions: The customer/user must have access to the system or website.
The system must be operational and accessible.
Postconditions: The customer/user has successfully viewed the list of available products.
The customer/user may choose to interact further with individual products,
such as clicking on them for more information or adding them to a shopping
cart.
Normal Flow 1. The customer/user initiates the use case by selecting a category, performing
a search, or taking an action that leads to viewing the product list.
2. The system retrieves and displays a list of available products based on the
customer's/user's request.
3. The product list is presented in a user-friendly format, typically as a grid or
list, containing product names, images, prices, and brief descriptions.
4. The customer/user can browse, filter, sort, and interact with the product list.
They can click on individual products to view more details.
Alternative If the customer/user's access permissions are insufficient, the system may
Flows: deny access and display an error message.
If there are no products available in the selected category or matching the
search criteria, the system may display a message indicating that there are
no products to show.
If there are technical issues or errors during the retrieval or display of the
product list, the system may generate error messages and prompt the
customer/user to retry or contact support.
GAMS-SRS_v1.0 Page 34 / 20
UC ID and
Name: UC-4:View Product List
b. Business Rules
ID Business Rule Business Rule Description
Only authenticated users are allowed to view the
product list.
FR Access Control:
Some products may be restricted and accessible only to
1
specific user groups or based on user roles.
GAMS-SRS_v1.0 Page 35 / 20
Product Products listed in the view must be available in stock for
FR Availability and purchase. Out-of-stock or discontinued products should not
3 Stock: appear in the list.
Description: Enables users to view detailed information about a product. This includes high-
resolution images, a full product description, customer reviews, pricing, and
availability. Users can add the product to their cart from here.
Preconditions: The customer/user must have access to the system or website.
The system must be operational and accessible.
The specific product that the customer/user wishes to view must exist in the
system's database.
Postconditions: The customer/user has successfully viewed the detailed information about
the selected product.
The customer/user may choose to interact further with the product, such as
adding it to a shopping cart or returning to the product list.
Normal Flow 1. The customer/user initiates the use case by selecting a specific product from
the list of available products or performing an action that leads to viewing
the product details.
2. The system retrieves and displays detailed information about the selected
product, including its name, description, price, specifications, images, and
availability status.
3. The product details are presented in a user-friendly and informative format,
allowing the customer/user to make an informed decision.
4. The customer/user can interact with the product details, such as zooming in
on images, reading the product description, checking specifications, and
exploring additional product-related content.
Alternative If the customer/user's access permissions are insufficient, the system may
Flows: deny access and display an error message.
If the selected product does not exist or is inaccessible, the system may
display an error message.
GAMS-SRS_v1.0 Page 36 / 20
UC ID and UC-5:View Product Details
Name:
The selected product does not exist or is inaccessible.
Errors in loading or displaying the product details.
b. Business Rules
ID Business Rule Business Rule Description
All product details, including names, descriptions,
FR Content Accuracy: prices, specifications, and images, should be accurate
1 and up-to-date.
GAMS-SRS_v1.0 Page 37 / 20
UC ID and UC-6:View Cart Contents
Name:
User accesses an authenticated feature (from a link or type the page URL directly
into the address bar)
Description: Allows users to view the contents of their shopping cart. They can see a list of
added products, their quantities, individual prices, and a total order summary. Users
can edit or remove items in the cart.
Preconditions: The customer/user must be logged into the system.
The system must be operational and accessible.
The customer/user must have added one or more items to their shopping
cart.
Postconditions: The customer/user has successfully viewed the contents of their shopping
cart and may choose to take further actions, such as updating quantities,
removing items, or proceeding to checkout.
Normal Flow 1. The customer/user initiates the use case by selecting the "View Cart" option
from the user interface.
2. The system retrieves and displays the current contents of the
customer/user's shopping cart.
3. The cart contents are presented in a clear and organized format, listing the
items, quantities, prices, and a subtotal.
4. The customer/user can review the items in their cart, update quantities,
remove items, or proceed to checkout.
Alternative If the customer/user's access permissions are insufficient, the system may
Flows: deny access to view the cart contents and display an error message.
If the customer/user has not added any items to their cart, the system may
display a message indicating that the cart is empty.
If there are technical issues or errors during the retrieval or display of cart
contents, the system may generate error messages and prompt the
customer/user to retry or contact support.
GAMS-SRS_v1.0 Page 38 / 20
UC ID and UC-6:View Cart Contents
Name:
3. Currency and Pricing: Pricing information is displayed in the currency
relevant to the user's location or preferences, and currency conversion rules
are applied if necessary.
b. Business Rules
ID Business Rule Business Rule Description
Cart contents should be presented in a clear and organized
format, listing item names, quantities, prices, and a
Cart Item
FR subtotal.
Presentation:
1 Users may have options to view additional details about
each cart item, such as product images or descriptions.
Description: Lets users provide contact information during the checkout process. Users enter
their shipping address, payment details, and any discount codes.
Preconditions: The customer/user must be logged into the system (if applicable).
The system must be operational and accessible.
The customer/user must have initiated a process that requires the
submission of contact details, such as making a purchase or registering an
account.
Postconditions: The customer/user has successfully provided their contact details, which are
securely stored in the system for further communication and order
GAMS-SRS_v1.0 Page 39 / 20
UC ID and UC-7:Provide Contact Details
Name:
processing.
Normal Flow 1. The customer/user initiates the use case by reaching the point in the process
where contact details are required.
2. The system presents a form or interface for the customer/user to enter their
contact information. This may include fields for name, address, phone
number, and email address.
3. The customer/user enters their contact details into the provided fields.
4. The system validates the entered contact details for completeness and
accuracy.
5. If there are validation errors, the system notifies the customer/user and
provides feedback to correct the information.
6. If the contact details are valid, the system securely stores the information in
the customer/user's account or order record.
7. The customer/user may continue with the process, such as completing a
purchase or finishing the account registration.
Alternative If the customer/user's access permissions are insufficient, the system may
Flows: deny access to the contact details submission form and display an error
message.
If there are technical issues or errors during the submission or storage of
contact details, the system may generate error messages and prompt the
customer/user to retry or contact support.
GAMS-SRS_v1.0 Page 40 / 20
UC ID and UC-7:Provide Contact Details
Name:
Business Rules: FR1, FR2, FR3
Other 1. Multi-language Support: If the system serves a diverse user base, it should
Information: provide support for multiple languages when collecting and displaying
contact details.
2. Error Handling and Feedback: The system should provide clear and
informative error messages to guide users in correcting any validation errors
when providing contact details.
3. Consent Management: If the system collects user consent for
communication (e.g., newsletters, promotional offers), it should maintain a
record of user preferences and provide mechanisms for users to update their
preferences or opt-out.
4. User Confirmation: Users may need to confirm the accuracy of their
provided contact details before final submission to reduce data entry errors.
5. Verification Mechanisms: For certain critical contact information (e.g.,
email addresses), the system may implement verification mechanisms (e.g.,
sending a verification email) to ensure data accuracy.
b. Business Rules
ID Business Rule Business Rule Description
Contact details should be securely stored in compliance
Data Privacy and with data protection and privacy regulations.
FR
Security: User consent for communication (if applicable) should
1
be collected and managed according to privacy laws.
GAMS-SRS_v1.0 Page 41 / 20
1.8 UC-8: Cart Completion
a. Functionalities
Provide the functional description for the use cases using the template/guides below
Functional Description Template
UC ID and UC-8 Cart Completion
Name:
Created By: Datvm Date Created: 16/9/2023
Primary Actor: Customer Secondary Actors: None
Trigger: The customer clicks on the "Complete Purchase" button on the shopping cart page.
Description: This use case describes the process of a customer completing a purchase by
confirming and finalizing the items in their shopping cart.
Preconditions: The customer has items in their shopping cart.
The customer is logged in.
Postconditions: The order is placed and saved in the order history.
Inventory is updated to reflect the purchased items.
Payment is processed successfully.
Normal Flow: The customer navigates to the shopping cart.
The customer reviews the items in the cart.
The customer clicks on the "Proceed to Checkout" button.
The system prompts the customer to confirm their delivery address and payment
method.
The customer confirms the details.
The system processes the payment through the payment gateway.
Upon successful payment, the system confirms the order.
An order confirmation email is sent to the customer.
The system updates the inventory to reduce the available quantity of purchased
items.
The order is added to the customer's order history.
Alternative If the customer chooses to edit their cart during the checkout process, they can go
Flows: back to the shopping cart and make changes before proceeding.
If the payment fails, the system notifies the customer and provides options to retry
the payment or use a different payment method.
Exceptions: If the customer is not logged in, they are prompted to log in or create an account
before proceeding with the purchase.
Priority: High
Frequency of Frequent
Use:
Business Rules: Customers can only complete a purchase if the items in their cart are available in
the inventory.
Payment processing must be secure and compliant with industry standards.
Other This use case is a critical part of the e-commerce system's functionality and must be
Information: robust and reliable.
Assumptions: Customers have already added items to their shopping cart.
The payment gateway is available and functional during the checkout process.
The system has access to up-to-date inventory information.
GAMS-SRS_v1.0 Page 42 / 20
b. Business Rules
Provide the business rules those are applied only to the use case
ID Business Rule Business Rule Description
FR
Password Encoding User’s password must be encoded with MD5 hashing
1
b. Business Rules
Provide the business rules those are applied only to the use case
GAMS-SRS_v1.0 Page 43 / 20
ID Business Rule Business Rule Description
FR
Password Encoding User’s password must be encoded with MD5 hashing
1
Alternative If the user forgets their password, they can request a password reset link.
Flows: After multiple failed login attempts, the user may be temporarily locked out for
security reasons.
Exceptions: Technical issues may prevent the user from logging in (e.g., server downtime).
User account may be locked or disabled by an administrator.
Priority: High
Frequency of Very high
Use:
Business Rules: Users must have a valid account to log in.
Passwords may require a minimum length and complexity.
Account lockout policy may apply after a certain number of failed login attempts.
Password reset mechanisms should be in place for forgotten passwords.
Other Multi-factor authentication (MFA) may be implemented for additional security.
Information: User sessions should have a timeout to automatically log users out after a period of
inactivity.
Assumptions: Users have been properly registered and provided with login credentials.
The system has been set up to handle user authentication and authorization.
Security measures are in place to protect user credentials and data during login.
GAMS-SRS_v1.0 Page 44 / 20
b. Business Rules
Provide the business rules those are applied only to the use case
ID Business Rule Business Rule Description
FR
Password Encoding User’s password must be encoded with MD5 hashing
1
GAMS-SRS_v1.0 Page 45 / 20
Assumptions: Users have access to a device with an internet connection to complete the
registration process.
The system follows best practices for user data security and privacy.
Please note that this is just an example, and the actual details may vary depending
on your specific system or application requirements.
b. Business Rules
Provide the business rules those are applied only to the use case
ID Business Rule Business Rule Description
FR
Password Encoding User’s password must be encoded with MD5 hashing
1
GAMS-SRS_v1.0 Page 46 / 20
Information: included.
Users are assumed to have access to their email accounts for the reset link.
Assumptions: Users are responsible for the security of their email accounts.
b. Business Rules
Provide the business rules those are applied only to the use case
ID Business Rule Business Rule Description
FR
Password Encoding User’s password must be encoded with MD5 hashing
1
GAMS-SRS_v1.0 Page 47 / 20
characters).
Users should not be able to change their password without logging into their
account.
Other None
Information:
Assumptions: The user knows their current password.
The user has access to their registered email address for potential password reset
requests.
b. Business Rules
Provide the business rules those are applied only to the use case
ID Business Rule Business Rule Description
FR
Password Encoding User’s password must be encoded with MD5 hashing
1
GAMS-SRS_v1.0 Page 48 / 20
Assumptions: The system has a registration and login process in place.
User profiles are associated with registered accounts.
Users have permission to edit their own profiles.
Please note that this is a sample template, and you should customize it according to
your specific project's needs and requirements.
b. Business Rules
Provide the business rules those are applied only to the use case
ID Business Rule Business Rule Description
FR
Password Encoding User’s password must be encoded with MD5 hashing
1
2. Common Feature
2.1 UC-2_Login System
a. Functional Description
UC ID and UC-2_Login System
Name:
Created By: MinhNNT Date Created: 16/Jun/2023
Primary Actor: Customer Secondary Actors: None
Trigger: User clicks Login button from the page header, or
User accesses an authenticated feature (from a link or type the page URL directly
into the address bar)
Description: As a user, I want to be able to log into the system so that I can use the system’s
authenticated features and access my personalized account.
Preconditions: User account has been created & authorized
Postconditions: User logs in the system successfully
The system tracked successful login into the Activity Log
Normal Flow 2.0 Login System
1. User accesses the User Login screen
2. User types in the login details or choo other login options (see 2.1 and 2.2)
3. User clicks the Login button
4. System validates the login details (see 2.0.E1)
5. System allows user to access
6. System tracks user’s success login to the Activity Log
7. System accesses the Home Page (or the previous calling page if any)
Alternative 2.1 Google Login
Flows: 1. User chooses to login system using Google account
2. System redirects the user to the Google’s Login screen
3. User types in the Google account details and chooses to login
4. Google validates user’s login information successfully and redirect him/her back
to the system
5. Return to step 5 of normal flow.
GAMS-SRS_v1.0 Page 49 / 20
UC ID and UC-2_Login System
Name:
2.2 Facebook Login
1. User chooses to login system using Facebook account
2. System redirects the user to the Facebook’s Login screen
3. User types in the Facebook account details and chooses to login
4. Facebook validates user’s login information successfully and redirect him/her
back to the system
5. Return to step 5 of normal flow.
Exceptions: 2.0.E1 System can’t authenticate the user
1. The Error Message screen is shown to the user
2. User cancels the logging in => UC stops, change to UC-1_View Home Page
3. User clicks “Forgot Password?” link => change to UC-3_Reset Password
4. User clicks “Register” link => change to UC-4_Register User Account
Priority: Must Have
Frequency of
Use:
Business Rules: FR1, FR2, FR3
Other
Information:
Assumptions:
b. Business Rules
ID Business Rule Business Rule Description
FR Password
User’s password must be encoded with MD5 hashing
1 Encoding
User can’t be authenticated to login the system if below cases
FR Invalid His/her logging-in details are incorrect
2 Logging In His/her account has not been verified
His/her account has been locked or blocked
FR Account If user inputs wrong logging-in details 6 times continuously, his/her
3 Locking account would be locked in 30 minutes
GAMS-SRS_v1.0 Page 50 / 20
Trigger: Users accessing profile management
GAMS-SRS_v1.0 Page 51 / 20
Exceptions: Validation Errors During Editing
- If there are validation errors (e.g., invalid email format) when the user tries to save
changes:
5 If there are still validation errors, the system repeats steps 3.2.1 to 3.2.4.
6 If there are no validation errors, the system proceeds with steps 4.0 onward.
Frequency: Moderate
Frequency of Users may access their user profiles periodically to update information or
Use: manage preferences.
Users often use this feature to update personal information, change profile
Other pictures, or manage communication preferences.
Information: User profile data should be kept up-to-date.
b. Business Rules
BR2 Data Validation Input data must be validated for accuracy, completeness, and security.
GAMS-SRS_v1.0 Page 52 / 20
BR3 Data Privacy User data must be handled in compliance with data privacy regulations.
Normal Flow: 1. User clicks on the "Permissions" link in the application's navigation menu.
GAMS-SRS_v1.0 Page 53 / 20
4 System revalidates the changes.
- If there are validation errors when the user tries to save changes to a permission or
role:
b. Business Rules
BR2 Data Validation Input data must be validated for accuracy, completeness, and security.
BR3 Data Privacy User data must be handled in compliance with data privacy regulations.
GAMS-SRS_v1.0 Page 54 / 20
3. Marketing Feature
3.* UC-23_Product List
a. Functional Description
Priority: High
Frequency of Daily
Use:
Business Rules:
Only marketing administrators have access to the Products List page.
Products must have a unique name and category.
Product inventory levels must be accurate.
Product prices must be greater than zero.
Other The marketing administrator has the necessary permissions to access the
Information: Products List page.
The marketing administrator is familiar with the system and how to use it.
The system is available and functioning properly.
Assumptions: None
GAMS-SRS_v1.0 Page 55 / 20
b. Business Rules
3.2 UC-24_Product Details
a. Functional Description
This use case enables Marketing to view and edit detailed information about a
Description: product, including images, descriptions, pricing, and availability
Trigger: Marketing accesses the product details editing functionality in the admin panel.
1. The Marketing is logged into the panel.
Preconditions: 2. The system is operational and accessible.
1. The Marketing views and may edit the product's detailed information.
Postconditions:
Normal Flow: 1. The Marketing logs into the panel.
2. The Marketing selects the "View Product Details " option.
3. The system displays detailed information about the selected product, including
images, descriptions, pricing, and availability.
4. The Marketing may make edits to the product's information.
Alternative If the Marketing is not logged in, the system will prompt the Marketing to log
Flows: in.
If the product does not exist, the system will display a message informing
the Marketing that the product does not exist.
Exceptions: If the system cannot save the changes, the system will display an error
message to the Marketing .
Priority: High
Frequency of
Use:
Medium
Business Rules: The product details page must include all of the required information,
including the images, descriptions, pricing, and availability.
The Marketing must be logged in to view the product details page.
The Marketing must be able to edit the detailed information about the
product.
Other The product details page may also include additional information, such as
Information: product reviews and related products.
GAMS-SRS_v1.0 Page 56 / 20
b. Business Rules
3.3 UC-25_Customer List
a. Functional Description
This use case shows statistics of posts, products, customers, feedbacks, and the
Description: trend of new customers by day for the last 7 days. It allows for adjusting the start
date and end date.
Trigger: Marketing accesses the customer statistics and trend functionality
1. The Marketing is logged into the panel.
Preconditions: 2. The system is operational and accessible.
The Marketing views the customer statistics and trend information.
Postconditions:
Alternative If the Marketing is not logged in, the system will prompt the Marketing to log in.
Flows: If the Marketing does not have permission to browse the customer list, the system will
display an error message.
Exceptions: If the system cannot retrieve the customer list, the system will display an error
message.
Priority: Medium
Frequency of Medium
Use:
Business Rules:Marketing must be logged in.
Marketing must have permission to browse the customer list.
Other The customer list page may also include additional information, such as the customer's
Information: registration date and last login date.
Assumptions: The Marketing has a stable internet connection. The Marketing is using a supported
browser.
GAMS-SRS_v1.0 Page 57 / 20
b. Business Rules
3.4 UC-26_Customer Details
a. Functional Description
This use case enables Marketing to view detailed information about a specific
Description: customer, including customer profiles, order history, and contact details.
Trigger: Marketing accesses the customer details viewing functionality in the panel..
1. The Marketing is logged into the panel.
Preconditions: 2. The system is operational and accessible.
The Marketing views the detailed information of the selected customer.
Postconditions:
Normal Flow: 1. The Marketing logs into the panel.
2. The Marketing selects the "View Customer Details" option.
3. The system prompts the Marketing to select a specific customer.
4. The Marketing selects a customer.
5. The system displays the detailed information of the selected customer, including
customer profiles, order history, and contact details.
Alternative If the customer does not exist in the system, the system will display an error
Flows: message.
If the Marketing is not logged in, the system will redirect the administrator to
the login page.
Exceptions: The system may experience a technical error and be unable to display the
customer's information.
The customer's information may be incomplete or inaccurate.
Priority: High
Frequency of Medium
Use:
Business Rules: The Marketing must have permission to view customer details.
The customer's personal information must be protected and only accessible
to authorized users.
Other -
Information:
Assumptions: The administrator has a basic understanding of the system.
The customer's information is accurate and up-to-date.
GAMS-SRS_v1.0 Page 58 / 20
b. Business Rules
3.5 UC-27_Feedbacks List
a. Functional Description
This use case permits Marketing to browse a list of submitted feedback and
Description: reviews, allowing them to see feedback ratings, comments, and product
associations
Trigger: Marketing accesses the feedback browsing functionality in the panel.
1. The Marketing is logged into the panel.
Preconditions: 2. The system is operational and accessible.
1. The Marketing views the list of submitted feedback and reviews.
Postconditions:
Normal Flow: 1. The Marketing logs into the panel.
2. The Marketing selects the "Browse Feedbacks" option.
3. The system displays a list of submitted feedback and reviews, including feedback
ratings, comments, and product associations.
4. The Marketing can view the details of individual feedback entries.
Alternative If there is no feedback submitted, the system will display an empty list.
Flows: If the Marketing is not logged in, the system will redirect the Marketing to the
login page.
Exceptions: The system may experience a technical error and be unable to display the list
of feedback.
Priority: High
Frequency of Medium
Use:
Business Rules: The Marketing must have permission to view feedback.
Customer feedback must be protected and only accessible to authorized
users.
Other None
Information:
Assumptions: The Marketing has a basic understanding of the system.
Customer feedback is accurate and up-to-date.
GAMS-SRS_v1.0 Page 59 / 20
b. Business Rules
3.6 UC-28_Feedbacks Details
a. Functional Description
This use case allows Marketing to view detailed information about specific
Description: feedback, including the feedback text, product reviewed, and user details.
Trigger: Marketing accesses the feedback details viewing functionality in the panel.
Alternative If the feedback does not exist in the system, the system will display an error
Flows: message.
If the Marketing is not logged in, the system will redirect the Marketing to the
login page.
Exceptions: The system may experience a technical error and be unable to display the
feedback details.
Priority: Medium
Frequency of Medium
Use:
Business Rules: The Marketing must have permission to view feedback details.
Customer feedback must be protected and only accessible to authorized
users.
Other - None
Information:
Assumptions: The Marketing has a basic understanding of the system.
Customer feedback is accurate and up-to-date.
GAMS-SRS_v1.0 Page 60 / 20
b. Business Rules
Normal Flow: 1. User with marketing roles clicks on the "Marketing Dashboard" link in the
application's navigation menu.
2. System displays the marketing dashboard with relevant data and tools.
Alternative None
Flows:
Exceptions: None
GAMS-SRS_v1.0 Page 61 / 20
Data analytics may be integrated to track the performance of marketing
Information: efforts.
Users with marketing roles are authorized to access and manage the
Assumptions: marketing dashboard.
Marketing administrators are responsible for creating and managing
marketing campaigns.
b. Business Rules
3.8 UC19 - Posts List - View Blog Post
a. Functional Description
Normal Flow: 1. User clicks on the "Blog Posts" link in the application's navigation menu.
Alternative None
Flows:
Exceptions: None
GAMS-SRS_v1.0 Page 62 / 20
Frequency: Moderate
Frequency of Users browse posts when they are interested in blog content. It occurs
Use: regularly but not necessarily daily.
This feature allows users to engage with blog content, which can drive
Other website traffic.
Information: It may include filters and sorting options for better content discovery.
b. Business Rules
Description: Enables users to read the full content of a selected blog post along with any
associated information, such as comments and author details.
2. System displays the full content of the selected blog post along with any
associated information, such as comments and author details.
Alternative None
GAMS-SRS_v1.0 Page 63 / 20
Flows:
Exceptions: None
Frequency: Moderate
Frequency of Users view post details when they want to read a specific blog post. It
Use: happens whenever users engage with blog content.
Post Details should provide a rich reading experience with comments and
Other social sharing options.
Information: Content sharing may help promote the website.
b. Business Rules
-None
Description: Allows users to read the full content of a selected blog post along with any
associated information, such as comments and author details. Users can also provide
feedback.
GAMS-SRS_v1.0 Page 64 / 20
Postconditions: User provides feedback and ratings for specific products or general feedback.
2. System displays the full content of the selected slider along with any associated
information, such as comments and author details.
Alternative None
Flows:
Exceptions: None
Frequency: Moderate
Frequency of Users may browse sliders when they visit the website to see featured
Use: content or promotions. It occurs regularly but not necessarily daily.
b. Business Rules
-None
4.Sale Feature
GAMS-SRS_v1.0 Page 65 / 20
Date Created:
Created By: VinhNQ 17/09/2023
Description: Provides access to a dashboard for monitoring sales and revenue. Administrators
can view sales analytics, track revenue trends, and identify top-selling products.
Trigger: The trigger for this use case could be when a Sale user or an Admin logs into the
system and selects the "Sale Dashboard" option.
Preconditions: . 1. The user (Sale or Admin) must be authenticated and authorized to access the
Sale Dashboard.
Postconditions: After the execution of the use case, the user (Sale or Admin) gains access to the
Sale Dashboard.
Normal Flow: 1. The Sale user or Admin logs into the system.
2. The user selects the "Sale Dashboard" option from the system's menu.
3. The system loads the Sale Dashboard, displaying sales analytics, revenue trends,
and top-selling product information.
Alternative If the user lacks the necessary permissions to access the Sale Dashboard, the
Flows: system will display an access denied message, and the use case ends.
Exceptions: None
Priority: Medium
Business Rules: Any specific business rules related to the Sale Dashboard, such as data refresh
intervals or access levels, should be documented here.
Frequency of The frequency of this use case's execution depends on the monitoring needs of Sale
Use: users and Admins.
Other
Information:
GAMS-SRS_v1.0 Page 66 / 20
4.2 UC-29_Browse Orders
Trigger: The trigger for this use case could be when a Sale user or Admin initiates a request
to access and browse the list of customer orders.
Preconditions: . 1. The user (Sale or Admin) must be authenticated and authorized to access and
browse orders
Postconditions: After the execution of the use case, the user (Sale or Admin) gains access to the list
of customer orders.
Normal Flow: 1. The Sale user or Admin logs into the system.
2. The user selects the "Browse Orders" option from the system's menu.
3. The system loads the list of customer orders, displaying order details, customer
information, and order statuses.
Alternative If the user lacks the necessary permissions to access and browse orders, the system
Flows: will display an access denied message, and the use case ends.
Exceptions: None
Priority: High
Business Rules: Any specific business rules related to browsing orders, such as search criteria or
filtering options, should be documented here.
Frequency of The frequency of this use case's execution depends on the need to manage and
Use: review customer orders by Sale users and Admins.
GAMS-SRS_v1.0 Page 67 / 20
Other
Information:
Description: The "Order Details" use case provides a comprehensive view of individual orders. It
includes details such as item specifics, quantities, prices, order status, customer
information (name, email, phone, address), shipping details, payment method, and
an order history log. This feature greatly simplifies the management and processing
of orders..
Trigger: The trigger for this use case could be when a Sale user initiates a request to view the
detailed information of a specific order.
Preconditions: 1. The user (Sale) must be authenticated and authorized to access order details.
Postconditions: After the execution of the use case, the system successfully displays the
comprehensive details of the selected order.
Normal Flow:
1. A Sale user selects a specific order and triggers the "Order Details" use case.
2. The system retrieves and displays detailed order information, including item
specifics, quantities, prices, order status, customer information, shipping specifics,
payment method, and order history.
3. The Sale user can review all the relevant details of the order to facilitate efficient
order management.
GAMS-SRS_v1.0 Page 68 / 20
4.Update and edit the order
Alternative If the selected order does not exist or is not accessible to the Sale user, the system
Flows: will display an error message, and the use case ends.
Exceptions: None
Priority: High
Business Rules: Any specific business rules that govern the display or handling of order details
should be referenced here
Frequency of The frequency of this use case's execution depends on the number of orders and the
Use: tasks performed by Sale users.
Other Any additional information or special requirements related to this use case can be
Information: documented here, such as quality attributes or performance expectations.
5. Admin Feature
5.1 UC-31_Admin Dashboard
a. Functional Description
ID and Name: UC-31 Admin Dashborad
Created By: VinhNQ Date Created: 16/9/2023
Primary Actor: Admin Secondary Actors:
Description: Show the trend of success/total orders, and the revenues trends by day for the last 7
days for all or a specific salesperson (the start date, end date, sale, order status can
be adjustable)
Trigger: Admin want to see website statistics
PRE-1. Admin is logged into website.
Preconditions: PRE-2. The account have role is admin
Postconditions: POST-1: The admin successfully interacts with the admin dashboard.
GAMS-SRS_v1.0 Page 69 / 20
POST-2: Any changes made in the admin dashboard are saved (if applicable).
Normal Flow:
1. Admin logs in to the website.
3. The system displays the admin dashboard with options to view statistics.
4. The system retrieves and displays the trend of success/total orders and revenue
trends by day.
5. Admin can adjust the start date, end date, sale, and order status filters as needed.
b. Business Rules
Description: This use case allows administrators to browse a list of registered users. They can
view user profiles, roles, and contact information.
GAMS-SRS_v1.0 Page 70 / 20
Preconditions: 1. PRE-1: Admin is logged into the system.
Postconditions: . 1. POST-1: The admin successfully views the list of registered users.
2. POST-2: Any changes made by the admin (if applicable) are saved.
Frequency of
Use: This use case may be used periodically by admin users to manage and review
registered users.
Alternative Flows:
Exceptions: None
Priority: Medium
Business Rules: - Only authenticated admins with appropriate permissions can access the Users
List.
- Admins can view user profiles, roles, and contact information but cannot
modify user data directly through this use case.
Other
Information:
GAMS-SRS_v1.0 Page 71 / 20
5.3 UC-33_View User Details
a. Functional Description
Description: Allows administrators to browse a list of registered users. They can see user
profiles, roles, and contact information.
Trigger: Admin wants to view or modify the details of a specific user's orders.
Postconditions: None
GAMS-SRS_v1.0 Page 72 / 20
Normal Flow: 1. Admin logs in to the system.
3. The system prompts the admin to search for a specific user by name, email, or
other identifier.
5. The system retrieves and displays a list of users matching the search criteria.
7. The system displays detailed user information, including basic user information
and a list of their orders.
9. Admin can view basic order information (order ID, customer details, order date,
total cost, sale information, status).
10. Admin can view receiver information (receiver's name, gender, contact details,
address).
11. Admin can view the list of ordered products, including product details
(thumbnail, name, category, unit price, quantity, total cost).
12. Admin can modify order status and sale notes if needed.
14. Admin can navigate back to the user's details or the list of users.
Exceptions: None
Priority: Medium
Business Rules: -Only authenticated admins with appropriate permissions can access the Users
Detail.
- Admins can view and modify order information, including order status, sale
notes, and assignment to other salespeople.
GAMS-SRS_v1.0 Page 73 / 20
- Sale Managers have the authority to change order status and assign orders to
other salespeople.
Frequency of This use case may be used periodically by admin users to manage and review user
Use: details and orders.
Other - Admins have been properly registered and have the necessary credentials.
Information:
5.4 UC-34_Manage Settings
a. Functional Description
ID and Name:
UC-34 Manage Settings
Description: This use case enables administrators to manage website settings and configurations,
including payment options, shipping policies, and other site-specific settings. It also
provides statistics related to new orders, revenues, customers, feedback, and order
counts for the last 7 days, with adjustable start and end dates.
Trigger: Admin wants to access and manage website settings and view statistics.
Postconditions: None
GAMS-SRS_v1.0 Page 74 / 20
Normal Flow: 1. Admin logs in to the system.
3. The system displays a list of website settings and configurations that can be
managed.
- Trend of order counts (success, all) by day for the last 7 days with adjustable
start and end dates.
7. Admin can navigate back to the settings list or the admin dashboard.
Exceptions: None
Priority: Medium
Business Rules: -Only authenticated admins with appropriate permissions can access the Settings
List.
Frequency of This use case may be used periodically by admin users to manage website settings
Use: and review statistics.
Other
Information:
GAMS-SRS_v1.0 Page 75 / 20
5.5 UC-35_Settings List
a. Functional Description
b. Business Rules
None
GAMS-SRS_v1.0 Page 76 / 20
6. Customer Feature
6.1 UC16 - My Orders - View Order History
a. Functional Description
Normal Flow: 1. User clicks on the "Order History" link in the application's navigation menu.
Exceptions: None
Frequency of Use:
Other
Information:
GAMS-SRS_v1.0 Page 77 / 20
Assumptions:
b. Business Rules
Data
BR3 Privacy User data must be handled in compliance with data privacy regulations.
Normal Flow: 1. User clicks on the "Order Details" link in the application's navigation menu.
3. User views order details, including products, prices, and shipping information.
Alternative None
Flows:
GAMS-SRS_v1.0 Page 78 / 20
Exceptions: None
Access to order details helps users verify the contents of a specific order
Other and track shipments.
Information: Order details should be presented clearly and accurately.
b. Business Rules
Data
BR3 Privacy User data must be handled in compliance with data privacy regulations.
UI Design
GAMS-SRS_v1.0 Page 79 / 20
Field Name Field Type Description
Email* Text Box This is for user to input valid email address for logging in
Password
Password* This is for user to input password for logging in
Box
User clicks to authenticate him/herself into the system with
Login Button
provided email & password
User clicks to redirect to the User Register page for
Register Button
registering new user account to access the system
Forgot User clicks to redirect to the Password Reset page for
Hyperlink
Password? resetting his/her forgot password
Login with
Hyperlink Allow user to login with his/her Google account
Google
Login with
Hyperlink Allow user to login with his/her Facebook account
Facebook
Database Access
Table CRUD Description
User R Verify UserName & Password information
Setting, User R Specify the authorizations of the logged-in user
SQL Commands:
1/ Verify UserName & Password information
SELECT user_id, full_name, email, image_url, status
FROM user WHERE user_name = ? AND password = ?
GAMS-SRS_v1.0 Page 80 / 20
b. Setting List
UI Design
Database Access
Table CRUD Description
GAMS-SRS_v1.0 Page 81 / 20
Query the list of current settings from the database
Setting RU
Update status of a specific setting
SQL Commands:
1/ Query the list of current settings from the database
SELECT setting_id, setting_name, mapped_values, type_id, display_order, status
FROM setting WHERE (setting_type = ?) AND (status = ?) AND (setting_name LIKE ?)
c. Setting Details
UI Design
GAMS-SRS_v1.0 Page 82 / 20
Click to reset the changes use has made on the screen fields
Reset Button
back to the initial values when the screen is loaded
Database Access
…
d.Profile User
e.Shopping Cart
UI Design
GAMS-SRS_v1.0 Page 83 / 20
GAMS-SRS_v1.0 Page 84 / 20
GAMS-SRS_v1.0 Page 85 / 20
f.Product detail
UI Design
GAMS-SRS_v1.0 Page 86 / 20
Required Age Text Required age can play game
Category Text The category of game
Quantity Text The quantity of product
Buy Now Button Redirect user to cart
Add to cart Button Add product to cart
Related product Text Show related product to user
Detail
Text,table Show author, weight, country,size of product
Information
Description Text Show description , more information about product
Rules Text Show how to play this game
Database Access
SQL Commands:
1/ Query the list product detail by ID from the database
select*from Products p join ProductDetail pd on p.pid = pd.pdid where p.pid =
GAMS-SRS_v1.0 Page 87 / 20
+ "INNER JOIN \n"
+ " [WebBoardGame4].[dbo].[Products] AS P\n"
+ "ON \n"
+ " PC.[pid] = P.[pid]\n"
+ " where c.caid =
g.Register
UI Design
GAMS-SRS_v1.0 Page 88 / 20
h. User List
GAMS-SRS_v1.0 Page 89 / 20
UI Design
h. User Detail
GAMS-SRS_v1.0 Page 90 / 20
h. ManageProduct
UI Design
Field
Field Name Description
Type
Product Name Text Show name of product
Price Text Show price of product
Quantity Text Show quantity of product
Date Text Date create product
User can choose Detail, Update, Hide, User was
Detail Link
redirected to product detail page, update product page
Total Products Text Total of product
Total Users Text Total number of users registered
GAMS-SRS_v1.0 Page 91 / 20
Previous/Next/1,2,3,4…. Button
Pagination, each page will have 10 products
Database Access
GAMS-SRS_v1.0 Page 92 / 20
9/ Query Pagination
select * from Products order by pid offset ? rows fetch next 10 rows only
i. Cart Contact
GAMS-SRS_v1.0 Page 93 / 20
j. Order List
k. Order Information
GAMS-SRS_v1.0 Page 94 / 20
l. News Details
GAMS-SRS_v1.0 Page 95 / 20
GAMS-SRS_v1.0 Page 96 / 20
m. Post List
Add new post button link to add new post jsp to create a new post
button edit button link to update post to edit post
GAMS-SRS_v1.0 Page 97 / 20
n. Add New Post
IV. Appendix
1. Assumptions & Dependencies
AS-1: Systems with appropriate user interfaces will be available for cafeteria employees to process the expected
volume of meals ordered.
AS-2: Cafeteria staff and vehicles will be available to deliver all meals for specified delivery time slots within
15 minutes of the requested delivery time.
DE-1: If a restaurant has its own on-line ordering system, the Cafeteria Ordering System must be able to
communicate with it bi-directionally.
GAMS-SRS_v1.0 Page 98 / 20