Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We have a project from Software Engineering course where we act as a developer group that make an application for the customer group according to
We have a project from Software Engineering course where we act as a developer group that make an application for the customer group according to their needs. We wrote a SRSSoftware Requirements Specification document. Now, we are writing a SDDsoftware design document For context, we are doing an online grocery store. I am doing the Component Design part of the design document. I will attach the part from SRS that corresponds to Component Design part. PLEASE HELP ME WRITE THE basic CODES TO COMPONENT DESIGN ACCORDING TO THESE FUNCTIONS!! You can use whatever language is convenient. Preferably JAVA. Here is the "Functional Requirements" part in our SRS: System Features
System Feature: Register and Login
Description and Priority
Allows the system to generate a new user account. Making any kind of purchase requires the user to have an account and be logged in The customer information will be recorded in the database with this feature.
StimulusResponse Sequences
The user needs to click a link or button to start the registering before they can start the program. The user is requested by the system to provide their email address, password, first name, and last name. The user receives the ownership of an the account after the system verifies the users information.
Functional Requirements
REQ: It must be possible to access the login and register buttons.
REQ: Each account needs its own database table set up
REQ: When login information is invalid, an error message must show up
System Feature: Add to Cart
Description and Priority
Users can browse the products on the homepage and add any item to their shopping cart with the use of this feature. It is up to the user to choose how much they want to add to their cart.
StimulusResponse Sequences
A notice informing the user of the insufficient amount of stock must be displayed; if not, the item will be incorrectly added to their basket.
Functional Requirements
REQ: An add to cart button REQ: A show my cart button.
REQ: For every product, there needs to be a table in the database with all of the product details.
REQ: An out of stock message that appears when the product runs out of stock.
REQ: A table for the products which are added to cart.
System Feature: Confirm Order
Description and Priority
Customers can use their bank or credit card details to validate their order when making a purchase. Due to the fact that it enables the users informations security and payment validation, it is a high priority feature.
StimulusResponse Sequences
Customers will be able to click a button or a link to start the confirmation process of their order. When the order is accepted by the customer, the system saves the confirmation and creates a bill with all the required information.
Functional Requirements
R: A button or link to confirm the users order.
REQ: Request for user to doublecheck and validate their order.
REQ: Keep a record of the order verification and produce a receipt with the required information.
REQ: In case there are any problems during the confirmation process, make sure to give clearly stated error messages and directions.
System Feature: Product Reviews
Description and Priority
That feature allows customers to read and write reviews on products in the online store.
StimulusResponse Sequences
Shoppers can read other customers' reviews in a special section on the grocery website's product page. There is also a "Write a Comment" option where users can participate. Clicking this opens a login or account creation screen. This step ensures the reliability of reviews by ensuring that only registered users can leave feedback. When users log in or create an account, they see a form where they can give a star rating from to and write reviews up to inches tall.
Functional Requirements
REQ: The system should allow users to view reviews from users who have previously purchased.
REQ: Before publishing a review, the system must require users to check in or create an account.
REQ: Users should be presented with values between to evaluate the product.
System Feature: Show Discount
Functional Requirements
REQ: System must get discount info from the database for each product it lists.
REQ: Discounts and deals should be displayed clear REQ: Users should be able to sort products by those that have active discounts or special promotions. Here is the Component Design requests: I will attach the image Component Design
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started