0% found this document useful (0 votes)
175 views8 pages

SWR302 Online Bookstore Overview

The document describes an online bookstore system and its interactions with external entities like customers and staff. It includes context diagrams that show the system and external entities, use case diagrams that illustrate the key functions of the system, and user stories that define acceptance criteria for those functions. The main functions are customer registration and login, searching and purchasing books, order management, and inventory management.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
175 views8 pages

SWR302 Online Bookstore Overview

The document describes an online bookstore system and its interactions with external entities like customers and staff. It includes context diagrams that show the system and external entities, use case diagrams that illustrate the key functions of the system, and user stories that define acceptance criteria for those functions. The main functions are customer registration and login, searching and purchasing books, order management, and inventory management.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

EX1:

1;
1. Online Book Store:
 This represents the online bookstore system itself.
 It encompasses all the functionalities mentioned, such as registration, login,
search, shopping cart, checkout, order management, store management, and
statistics.
2. Customer:
 This entity represents the customers who interact with the online bookstore.
 Customers can register, log in, search for books, create/update/view/cancel their
shopping cart, proceed to checkout, select shipment and payment options, and
create/update/view/cancel orders.
3. Staff/Manager:
 This entity represents the staff or manager of the online bookstore.
 Staff/manager can log in, search for books, store items in the inventory, put items
on the selling web, process (view, update, cancel) orders, and view statistics of
item selling.

The context diagram illustrates the system as a central entity with the external entities (customers
and staff/manager) connected to it. It shows the high-level interactions between the system and
its external entities, without going into the internal details of the system or its processes.

2;
- Online Book Store
- User Management
- Customer Registration
- Customer Login/Logout
- Staff/Manager Login/Logout
- Search Functionality
- Search by Title
- Search by Author
- Search by Genre
- Shopping Cart
- Create Cart
- View Cart
- Update Cart
- Remove Item from Cart
- Cancel Cart
- Checkout Process
- Select Shipment
- Provide Shipping Details
- Select Payment Method
- Order Management
- Create Order
- View Order
- Update Order
- Cancel Order
- Store Management
- Search Inventory
- Add New Book
- Update Book Details
- Remove Book
- Put Item on Selling Web
- Statistics and Reporting (Manager)
- View Sales Statistics
- Generate Sales Reports
- Additional Functionality
- Wish Lists
- Customer Reviews/Ratings
- Recommendations
- Book Recommendations from Staff/Manager

3;
4;
1. Register as a Customer:
 Scenario: New Customer Registration
 The customer clicks on the "Register" button.
 The system presents a registration form.
 The customer fills in the required information, including name,
email, and password.
 The customer submits the form.
 The system validates the information and creates a new customer
account.
 The system displays a confirmation message and redirects the
customer to the login page.
2. Login:
 Scenario: Customer Login
 The customer navigates to the login page and enters their
credentials.
 The system verifies the entered information and authenticates the
customer.
 The system redirects the customer to their account dashboard.
3. Search Books:
 Scenario: Book Search by Title
 The customer enters a book title in the search bar.
 The system performs a search based on the entered title.
 The system displays a list of books matching the title.
4. Add Book to Cart:
 Scenario: Adding a Book to the Cart
 The customer selects a book from the search results.
 The system displays the book details.
 The customer clicks on the "Add to Cart" button.
 The system adds the selected book to the customer's cart.
5. Proceed to Checkout:
 Scenario: Checkout Process
 The customer views their cart and confirms the items.
 The customer clicks on the "Proceed to Checkout" button.
 The system presents the shipment options.
 The customer selects a shipment method.
 The system prompts the customer to provide shipping details.
 The customer enters the required shipping information.
 The system displays the available payment methods.
6. Create Order:
 Scenario: Placing an Order
 The customer selects a payment method.
 The customer enters the necessary payment details.
 The system validates the payment information and creates a new
order.
 The system generates an order confirmation with a unique order ID.
 The system deducts the payment amount from the customer's
chosen payment method.
7. View Order:
 Scenario: Viewing Order Details
 The customer navigates to their account dashboard.
 The customer selects the "Order History" section.
 The system displays a list of the customer's previous orders.
 The customer clicks on a specific order to view its details.
 The system presents the order details, including the book(s)
purchased, payment information, and shipment details.
8. Search Inventory:
 Scenario: Staff/Manager Inventory Search
 The staff/manager logs into the system and accesses the inventory
management section.
 The staff/manager enters a book title or other relevant information
in the inventory search bar.
 The system performs a search based on the entered information.
 The system displays a list of books matching the search criteria.
9. Add Book to Inventory:
 Scenario: Adding a Book to the Inventory
 The staff/manager selects the "Add New Book" option.
 The system presents a form to enter the book details, such as title,
author, ISBN, genre, and quantity.
 The staff/manager fills in the required information.
 The staff/manager submits the form.
 The system validates the information and adds the book to the
inventory.
10. View Sales Statistics:
 Scenario: Manager Accessing Sales Statistics
 The manager logs into the system and accesses the statistics
section.
 The system presents various statistical reports, such as total sales,
bestselling books, revenue by genre, etc.
 The manager selects a specific report to view the corresponding
sales statistics.
 The system generates and displays the selected report, providing
insights into sales performance.

5;

1. Register as a Customer:

User Story: As a new customer, I want to register an account so that I can access the
online bookstore.

Acceptance Criteria:

 Given that I am on the registration page,


 When I enter my name, email, and password,
 And I click on the "Register" button,
 Then I should be redirected to the login page,
 And a new customer account should be created.
2. Login:

User Story: As a customer, I want to log in to my account to access personalized features


and make purchases.

Acceptance Criteria:

 Given that I am on the login page,


 When I enter my valid email and password,
 And I click on the "Login" button,
 Then I should be redirected to my account dashboard.
3. Search Books:

User Story: As a customer, I want to search for books by title, author, or genre to find
the ones I'm interested in.

Acceptance Criteria:

 Given that I am on the search page,


 When I enter a book title, author, or genre in the search bar,
 And I click on the "Search" button,
 Then I should see a list of books matching the entered criteria.
4. Add Book to Cart:

User Story: As a customer, I want to add books to my shopping cart for purchase later.

Acceptance Criteria:

 Given that I am viewing the details of a book,


 When I click on the "Add to Cart" button,
 Then the selected book should be added to my shopping cart.
5. Proceed to Checkout:

User Story: As a customer, I want to proceed to checkout after reviewing the items in my
cart.

Acceptance Criteria:

 Given that I am viewing my shopping cart,


 When I click on the "Proceed to Checkout" button,
 Then I should be presented with shipment options,
 And I should be prompted to provide shipping details.
6. Create Order:

User Story: As a customer, I want to create an order to purchase the books in my cart.

Acceptance Criteria:

 Given that I have selected a shipment method,


 And I have provided valid shipping details,
 When I select a payment method and enter the necessary payment information,
 And I click on the "Create Order" button,
 Then a new order should be created with a unique order ID,
 And the payment amount should be deducted from my chosen payment method.
7. View Order:

User Story: As a customer, I want to view the details of my previous orders.

Acceptance Criteria:

 Given that I am logged into my account,


 When I navigate to the "Order History" section,
 And I select a specific order,
 Then I should be able to view the order details, including the purchased book(s),
payment information, and shipment details.
8. Search Inventory:

User Story: As a staff/manager, I want to search for books in the inventory for
management purposes.

Acceptance Criteria:

 Given that I am logged into the system as a staff/manager,


 When I enter a book title or relevant information in the inventory search bar,
 And I click on the "Search" button,
 Then I should see a list of books matching the search criteria.
9. Add Book to Inventory:

User Story: As a staff/manager, I want to add new books to the inventory.

Acceptance Criteria:

 Given that I am logged into the system as a staff/manager,


 When I select the "Add New Book" option,
 And I enter the book details, such as title, author, ISBN, genre, and quantity,
 And I click on the "Submit" button,
 Then the book should be added to the inventory with the provided details.
10. View Sales Statistics:

User Story: As a manager, I want to view sales statistics for analysis and decision-making
purposes.

Acceptance Criteria:

 Given that I am logged into the system as a manager,


 When I access the statistics section,
 Then I should be presented with various reports, such as total sales, bestselling
books, revenue by genre, etc.,
 And I should be able to select a specific report to view the corresponding sales
statistics.

Common questions

Powered by AI

The process to add a new book involves the staff or manager logging into the system, selecting the 'Add New Book' option, entering book details such as title, author, ISBN, genre, and quantity, and submitting the form. The system then validates the provided information to ensure accuracy and completeness before adding the book to the inventory, maintaining data integrity .

The online bookstore system differentiates user roles mainly into customers and staff/managers, each with specific functionalities. Customers can register, log in, search for books by various criteria, manage their shopping cart, proceed to checkout, and handle order management tasks like creating or cancelling orders. They can also use features like wish lists and provide reviews or ratings. On the other hand, staff/managers have access to inventory management functionalities, such as adding, updating, or removing books and processing orders. Managers also have access to sales statistics and reporting to support analysis and decision-making .

The checkout process comprises several steps: the customer reviews their shopping cart and confirms the items, selects a shipment method, provides necessary shipping details, and chooses a payment method. The system validates the payment information to ensure issue-free transactions. Upon successful validation, a new order is created, the system generates an order confirmation with a unique order ID, and the payment amount is deducted from the customer's payment method, ensuring the completion and security of the transaction .

Managers can enhance decision-making and operations by accessing various sales statistics reports, such as total sales, bestselling books, and revenue by genre. These insights allow managers to identify trends, optimize inventory and marketing strategies, determine resource allocation, and improve customer targeting and retention strategies, ultimately driving operational efficacy .

Staff/managers can oversee order processing, involving functions such as viewing, updating, or cancelling orders. They can access the order management section, review the details of each order, make necessary updates if required, and ensure efficient handling of customer requests. This ensures smooth operation and quick resolution of any order-related issues .

To ensure secure transactions and data protection, the online bookstore platform likely employs encryption technologies to safeguard customer data such as personal information and payment details. The validation processes during tasks like registration and checkout are critical for verifying information authenticity. Furthermore, user authentication through login credentials prevents unauthorized access to personal and sensitive operations .

Customers can manage their shopping cart by creating, viewing, updating, or cancelling it. They can add or remove items and update quantities. At checkout, the customer confirms the items, selects a shipment method, provides shipping details, and chooses a payment method. This process ensures the cart is ready for order creation once all necessary information is confirmed .

Staff/managers can utilize several functionalities for inventory management: they can search inventory by entering a book title or other relevant information, add new books by providing details such as title, author, ISBN, genre, and quantity, update existing book details, and remove books from inventory. These capabilities allow staff/managers to efficiently manage the bookstore's inventory and ensure stock levels meet customer demand .

Customers can personalize their experience by utilizing wish lists, writing and reading reviews or ratings, and receiving book recommendations. These features help tailor the shopping experience to individual preferences and behaviors, enhancing user satisfaction and engagement with the platform .

The new customer registration process involves several steps: The customer clicks on the 'Register' button, the system presents a registration form, and the customer fills it with required details such as name, email, and password. After submitting the form, the system validates the information and creates a new customer account. A confirmation message is displayed, and the customer is redirected to the login page .

You might also like