Software Engineering
Assignment #04
TOPIC: E-Commerce Website
ISHMAL _ 981
Class: BS SE
Semester: III
Submitted to: Miss Iqra Qayoum
Submission Date: 11-Jan-2024
Functional Requirements:
1. User Registration and Authentication:
• Users should be able to create accounts.
• Secure login and authentication mechanisms.
2. Product Catalog:
• Display a list of products with details.
• Categorize products for easy navigation.
• Search functionality.
3. Shopping Cart:
• Add and remove items from the cart.
• View the contents of the cart.
• Calculate and display the total price.
4. Order Processing:
• Allow users to place orders.
• Confirmation emails for successful orders.
5. Payment Gateway Integration:
• Secure payment processing.
• Support for various payment methods (credit cards, digital wallets, etc.).
6. User Reviews and Ratings:
• Allow users to leave reviews and ratings for products.
7. User Account Management:
• Profile management (address, payment methods).
• Order history and tracking.
8. Admin Panel:
• Manage product listings.
• View and manage orders.
• User management.
9. Notifications:
• Notify users about order status (confirmation, shipping, delivery).
Non-Functional Requirements:
1. Performance:
• Response time for actions like product loading, checkout, and order confirmation.
2. Scalability:
• The system should handle an increasing number of users and products.
3. Reliability:
• High availability and minimal downtime.
• Backup and recovery mechanisms.
4. Usability:
• Intuitive user interface.
• Accessibility considerations.
5. Compatibility:
• Cross-browser compatibility.
• Compatibility with various devices (phones, tablets, desktops).
6. Security:
• Regular security audits.
• Protection against common security threats (SQL injection, cross-site scripting).
7. Compliance:
• Compliance with data protection regulations (e.g., GDPR).
• Compliance with payment industry standards (PCI DSS).
8. Integration:
• Seamless integration with third-party services (payment gateways, shipping
providers).
9. Scalability:
• The ability to handle increased loads during peak times.
Tabular usecase:
Use case Description
User
Registration/Login Allow users to create accounts, providing necessary information
for registration. Users should be able to log in securely, ensuring
authentication and authorization for personalized experiences.
Browsing Products
Users should be able to navigate through product categories,
search for specific items, and filter results based on various
criteria such as price, brand, or ratings.
Product Details
Display detailed information about each product, including
images, descriptions, specifications, pricing, and customer
reviews. Allow users to add products to their cart or Wishlist
directly from this page.
Shopping Cart
Management Enable users to add, remove, or modify items in their shopping
cart. Display the total order amount, including taxes and
shipping fees.
Checkout Process
Facilitate a smooth and secure checkout process. Include options
for users to enter shipping addresses, select payment methods,
and review their order before finalizing the purchase.
User Account
Management Allow users to manage their account settings, including personal
information, addresses, and payment methods. Provide options
for password recovery and account deletion.
Customer Support
Implement a customer support system for users to reach out
with inquiries, complaints, or assistance. Include live chat, email
support, or a help center to address common issues.
Product Reviews and
Ratings Allow users to leave reviews and ratings for products they have
purchased. Display these reviews to help other customers make
informed decisions.
Promotions and
Discounts Implement a system for applying promotional codes, discounts,
and loyalty programs during the checkout process. Display
ongoing promotions, special offers, and clearance sales to attract
and retain customers.
Order Tracking
Provide users with the ability to track the status and location of
their orders in real-time. Offer notifications for important
updates, such as shipment dispatched, out for delivery, and
order delivered
Mobile Responsiveness
Ensure the E-commerce app is mobile-friendly, allowing users to
access and navigate the platform seamlessly on various devices,
such as smartphones and tablets.
Security Measures
Implement robust security measures to protect user data,
including encryption, secure payment gateways, and regular
security audits. Ensure compliance with data protection
regulations and standards.
Use-Case Diagram
E-commerce app
UserID
Verifing
Log in <<include>> CartID
password
<<Extend>> Customer
Username
ID
PaymentM Display logi
ethod error
ProductList
TotalPrice
Email
ShoppingCart
Customer
maneger
ProductID
OrderID
Name
Product Price
Customer
ID
Order maneger
maneger Quantity
Reviews
Description
TotalPrice
AdminID GatewayID
Payment
Admin
Gateway
Name
Password Type
Context Diagram:
Content diagram
User Places an order
<<system>>
Order <<system>>
Admin Manages
Product Listings
<<system >>
Online shopping
<<system>>
User Leaves a Product
ShoppingCart PaymentGateway
review
<<system>> <<system>>
<<system>>
Activity Diagram
Activity diagram
Choice payment
Process Payment
no options Add reviews
Open software
Send Confirmation
E mail
Confirm address User Leaves a Product
Login review Return request
<<system>>
yes Oder place
yes
Sign up
Admin Manages Product
Listings
<<system >> Drop off
View products no
Confirm Order
no
Hand over
Oder requirement
Send confirmation
check
Proceed to e-mail
yes checkout Reach on the
Select products destination
Oder packed Receive payment
Add to card
Hand over for
shippng
delivery
User Places an order ShoppingCart Delivery
Order <<system>>
<<system>> <<system>> <<system>>