Académique Documents
Professionnel Documents
Culture Documents
for
Fruits-SELLING-WEBSITE
Version 1.0
By
Muhammad Hamza
F20BDOCS1E02019
Session Fall 2020-2024
Supervisor
Supervised by
SIR FAHAD ALI
Signature
1
Contents
1 Chapter# 1.................................................................................................................................. 3
Introduction....................................................................................................................................3
1.1 Purpose.................................................................................................................................. 3
1.2 Scope......................................................................................................................................3
2 Chapter # 2................................................................................................................................. 3
Overall Description.....................................................................................................................3
2.1 Product Perspective...............................................................................................................3
3 Chapter # 3................................................................................................................................. 5
Requirements Identifying Techniques.........................................................................................5
3.1 Use Case Diagram................................................................................................................ 5
2
Chapter #1
1. Introduction
As you step into the dynamic range of our natural product retail shop, you're not simply visiting a site;
you're leaving on a delightful excursion into the core of Earth's life giving force's liberality. At Plantation
Bounties, we put stock in praising the basic yet significant delights that the freshest and best natural
products give.
1.1Purpose
The purpose of this Software Requirements Specification (SRS) document is to establish a clear and
comprehensive set of requirements for the development and implementation of "Fresh Fruits Galaxy," an
online platform dedicated to the selling of an extensive variety of fresh fruits. This document aims to
facilitate communication among stakeholders, provide a basis for estimating costs and timelines, and serve
as a guide for developers and designers in the creation of the system.
1.2 Scope
"Fresh Fruits Galaxy" will provide customers with an online marketplace for purchasing a wide array of
fruits sourced from local farms and international suppliers. The platform will aim to make fruit shopping
convenient, efficient, and enjoyable. More than just a retail site, it will include features such as fruit
descriptions, nutritional information, and recipe suggestions, enhancing the shopping experience while
educating customers about the products.
3
Chapter #2
2.Overall description
A comprehensive online platform that provides customers with access to a diverse selection of food
products will be the food selling website. It will act as an all in one resource for clients to buy a different
scope of food things, including new produce, storage room staples, specialty food varieties, and prepared
to-eat feasts. The site will take special care of the necessities of people and families looking for quality,
accommodation, and assortment in their food buys.
According to the client's point of view, the site will furnish a natural point of interaction with simple route,
permitting clients to peruse different food classes, view nitty gritty item depictions, and make secure web-
based installments. There will be a consistent client experience, with elements like pursuit usefulness,
customized proposals, and an easy to understand checkout process.
2.2 Operating environment
The operating environment for a food selling website can be summarized as follows:
: Compatible with Windows XP, Vista, 7, 8, 8.1, and 10.
: Developed using Php(Laravel) programming language.
: Requires WiFi connection for communication.
2.3 Design and implementation constraints
The following are the design and implementation constraints for The PetPals Market's website:
2.3.1 Programming Language: This setup uses front-end HTML, CSS, Bootstrap, and JavaScript to build the
user interface and interact with the database. Back-end PHP and Laravel are used to process data on the server
side, interact with databases, and build robust web applications.
2.3.2 Development tools: Wampserver provides a local server environment with Apache, MySQL, and PHP
for testing web applications, Visual Studio Code is an open-source code editor with features like syntax
highlighting and debugging tools.
2.3.3 Security and Privacy: Security and privacy of user data, financial transactions, and communication must
be prioritized during design and implementation. This includes adhering to regulations regarding the
4
protection of data, putting in place safe authentication and authorization mechanisms, and effectively
defending against cyber threats.
2.3.4 Payment Gateway Integration: The availability of payment processing partners, compliance with
financial regulations, and potential restrictions on international transactions may limit the integration of a
secure and dependable payment gateway to facilitate transactions.
2.3.5 Seller Verification: The stage should incorporate instruments to approve the validity and authenticity of ,
which might fruits be compelled by the accessibility of outsider confirmation administrations and information
protection contemplations.
2.3.6 User Experience and Accessibility: The need to accommodate users with varying abilities,
preferences, and technological capabilities may limit the design and implementation of an intuitive and
accessible user experience.
Chapter #3
5
3.1 Use case diagram
One of the primary features of the website is the ability to view products. This feature allows customers
to browse a wide range of products, including fruits like Apple Mango etc. Additionally , the website
provides a search function that enables customers to find specific products according to their preferences.
The website also offers the ability to add products to a cart and checkout. Customers can add products to
their cart and complete transactions securely using various payment methods, such as credit cards, HBL,
and others. This feature ensures that customers can complete transactions
6
1.1Use case description
Description: This use case involves a user who wants to register on the fruits-selling
website to access the platform's features and services
Trigger: None
Preconditions: The user has accessed the fruits -selling website and intends to register as a
new user.
Postconditions: The user has successfully registered and can now log in to the website using
the provided credentials.
Flow of The client taps on the "Register" or "Sign Up" button on the site's
Events:
landing page.
The user is prompted to fill out information like their name, email
address, and password on a registration form that is displayed by the
system.
The client fills in the necessary data and presents the enrollment
structure.
The information entered is checked for errors and missing fields by the
system.
The user is registered as a new member and given a unique user ID if
there are no validation issues.
The framework sends an affirmation email to the client's given email
address to confirm the enrollment.
The client follows the connection in the affirmation email to actuate the
record.
Exceptions: None.
7
1.2Use case description
Trigger: None
Preconditions: The user is logged in and has accessed the fruits -selling website to search for
fruits likes Apple, mango etc.
Postconditions: The user has successfully found and reviewed pet listings that match the
specified search criteria and can take further actions, such as contacting
sellers or making purchases
Flow of Events: The user navigates to the search or browse section of the website.
The user selects and inputs the desired search criteria.
The user reviews the search results and selects a specific product
listing for more details.
The system displays comprehensive information about the selected
fruits, including images, description, seller contact details, and
pricing.
The user may choose to contact the seller for further inquiries or
proceed with purchasing the fruits.
8
Actors: Buyer
Description: The customer visits the website and navigates to the product page.
The website displays a list of products available for purchase.
The customer selects a specific product to view more details
Trigger: The customer selects a product category or searches for a specific
product on the website.
Preconditions: The customer has access to the internet and a web browser.
Postconditions: The customer has viewed the product details and may proceed with the
purchase or continue browsing.
Exceptional Flows: . If the website is experiencing technical issues, the product details may
not be displayed properly.
.
1.4 Use case description
Table4. Purchasing
Use Case ID: PF-04
Use Case Purchasing
Name:
Actors: Customer, Seller
Goal in The primary goal of the fruits selling website is to facilitate the sale and purchase
Context: of pets by providing a platform where sellers can list their products for sale.
Trigger: None
Preconditions: The fruits selling website is accessible and operational.
Sellers have fruits available for sale.
Customers have access to the website and means for online transactions.
Post None
conditions:
Special The website should have secure payment processing to ensure customer transactions
Requirements are safe and protected.
:
Frequency of
Occurrence: Customers browsing and purchasing: Daily or as per their requirements.
9
1.4 Use case description
Description: This use case involves the process of adding items to the shopping cart on a
website.
Trigger: None
Preconditions: The customer must be logged into their account on the website.
Post The item is now added to the customer's shopping cart, and they can
conditions: continue shopping or proceed to checkout.
Main Flow: 1. The customer selects the item they want to purchase on the product page.
2. The customer clicks on the "Add to Cart" button.
3. The website adds the selected item to the customer's shopping cart.
4. The website displays a confirmation message to the customer indicating that
the item has been successfully added to the cart.
Alternative If the customer tries to add an item to the cart without being logged in, the
Flow: website prompts them to log in or create an account before adding the item to
the cart.
Chapter #4
Functional Requirements: User Registration and Login
Description: The framework will give a client enrollment and login usefulness to permit clients to
make records and access the stage
Features:
. Registration: The system should allow users to register by providing their personal details like name,
address, contact information, and a valid email address.
. Login: Registered users should be able to log in using their credentials (username/email and password) to
access the website.
10
. Profile Management: Users ought to be able to manage their profiles and update personal information.
. Security: To safeguard user data, the system ought to incorporate security features like account
verification and password encryption.
These functional requirements provide the basis for implementing the user registration and login features
on the fruits selling website.
4.1.1 Description: The fruits selling website should provide a user registration and login functionality to
allow users to create and manage their accounts. This requirement aims to ensure that users can securely
access the website and perform various actions as registered members.
4.1.2 Inputs:
User registration details: name, email address, password, contact information, delivery address.
User login credentials: email address and password.
4.1.3 Processing:
4.1.4 Outputs:
11
4.1.4.2 Error messages: Invalid email address, email address already exists, incorrect login credentials.
Identifier F-T10
Title Fruits Buying
Requirement
. Adress must always have Street,City,State,Zipcode,and Country.
. Contact adress is defined as an address.
. Shipping Adress is defined as an address.
. The billing System shall produce pet purchase invoices.
Priority High
12
The system should be compliant with the latest OWASP security standards to protect against common
web vulnerabilities.
4.2.4 Reliability Requirements:
The website should have an uptime of 99.9% outside of scheduled maintenance windows.
Transactions should complete accurately with a 99.995% success rate.
Daily backups have to be performed, and the system should support rapid restoration within 4 hours in
the event of a major failure.
4.2.5 Scalability Requirements:
The system should be designed to scale up to accommodate a 20% increase in user load per year.
The hosting infrastructure must provide the flexibility to scale resources up or down based on real-
time demand.
4.2.6 Compatibility Requirements:
The website should be compatible with the latest versions of Chrome, Firefox, Safari, and Edge
browsers.
The website should provide a responsive design that adapts seamlessly to mobile, tablet, and desktop
screens.
Chapter #5
References
A. www.wikipedia.org/
B. www.w3schools.com
C. www.google.com
D. www.laravel.com
13