Synopsis Snehal Sable
Synopsis Snehal Sable
ON
SmartCart Hub
BY
Snehal Sable
Year 2024-2025
1
CHAPTER 1: INTRODUCTION
The digital transformation in retail has led to a surge in the number of online
grocery delivery platforms. While these platforms offer unparalleled
convenience and competitive pricing, they also pose a significant challenge to
consumers who must manually compare prices and discounts across multiple
sites to find the best deals. This process is often tedious and time-consuming,
detracting from the overall convenience of online shopping.
To address this challenge, the SmartCart Hub project aims to centralize the price
comparison process, enabling users to make informed purchasing decisions
efficiently. As the landscape of grocery shopping becomes increasingly complex
with the proliferation of online platforms, each offering different prices and
discounts, consumers are often overwhelmed by the task of manually comparing
prices across various websites and apps.
While there are numerous platforms globally, such as BigBasket, Zepto, Blinkit,
Amazon, and Flipkart, this project focuses on a subset of popular services to
demonstrate the feasibility and scalability of the system. The ultimate goal is to
simplify the shopping experience and help users save both time and money.
Future enhancements may include the integration of direct ordering capabilities,
transforming the SmartCart Hub into a comprehensive solution for online
grocery shopping.
2
1.1 ABSTRACT
Key Objectives:
3
1.2 EXISTING SYSTEM AND LIMITATIONS OF THE EXISTING
SYSTEM
Existing System:
Limitations:
The proposed system aims to bridge the gap by automating the price and
discount comparison process for grocery items. With increasing reliance on
online grocery delivery, a centralized system will:
4
Cater to modern consumer needs, where convenience and efficiency are
paramount.
5
CHAPTER 2: PROPOSED SYSTEM
1. Technical Feasibility:
2. Operational Feasibility:
3. Economic Feasibility:
Functional Requirements:
1. Enable users to search for grocery items and view platform-wise price
comparisons.
7
3. Allow sorting and filtering by price, discount, or platform.
5. Support exporting comparison data for offline use (e.g., CSV format).
Non-Functional Requirements:
5. Security: Protect user data and comply with platform usage policies.
1. Primary Users:
General Consumers: Individuals who shop for groceries online and want
to save time and money.
2. Secondary Users:
8
2.6 MODULE SPECIFICATION
Function: This module is responsible for collecting data from various online
grocery platforms by scraping their web pages. It will extract real-time price
and discount information for grocery items. The scraper will interact with the
HTML structure of the platforms to extract relevant details, such as:
Item name
Price
Discount percentage
Availability status
Platform name (e.g., BigBasket, Amazon, etc.)
Process:
Function: This module processes and structures the raw data scraped from
different platforms into a clean, organized format for display. It will:
Clean and standardize the data (e.g., price formatting, handling missing
data).
9
Convert raw data into structured data, such as creating a table or
dataframe that lists each grocery item, its price across various platforms,
and available discounts.
Calculate additional metrics, like savings (percentage of discount) or the
best price available.
Store processed data in an easy-to-manage format for the user interface to
display.
Process:
Process:
10
Flask can be used if the system is being developed as a web app,
providing a simple framework for serving the comparison results in a
browser.
Features will include responsive layout, a clean design, and easy
navigation to ensure a seamless user experience.
Function: This module will handle storing and retrieving data from the system.
It will:
Store the scraped and processed data to avoid repeated scraping for the
same items.
Allow users to save their search results or favorite products for future
reference.
Provide offline access to previously retrieved data.
Process:
11
CHAPTER 3: SYSTEM ANALYSIS AND DESIGN
Relationships:
Example relationship:
12
13
3.2 USE CASE DIAGRAM
The Use Case Diagram represents the interactions between the actors (users or
other systems) and the system.
Actors:
1. User (Primary actor): Interacts with the system to search and view
price comparisons.
Use Cases:
The diagram will show interactions between actors and the corresponding
system functions
14
15
Diagram Explanation:
1. User Interactions:
o The User interacts with the system to initiate various actions (use
cases) such as searching for items, viewing comparisons, filtering
results, and exporting data.
2. System Components:
o Scraper:
o Database:
Summary of Interactions:
Search Item:
View Comparison:
o The system queries the database to retrieve and display the relevant
price comparisons.
16
Filter Results:
Export Data:
17
3.3 CLASS DIAGRAM
The Class Diagram represents the structure of the system by showing the
system's classes, their attributes, methods, and relationships.
Classes: 1.Item
2. Platform
3. Price
4. User
Methods:search_item(),save_search_history(),filter_results().
5. Scraper
18
User can search and filter multiple Items.
19
20
3.4 SEQUENCE DIAGRAM
1. User
3. Search Controller
4. Scraper
5. Database
6. Comparison Module
21
7.
Explanation:
4. Scraper interacts with various online platforms to fetch the price data.
22
10.UI displays the comparison results to the User.
The Activity Diagram represents the workflow or the series of steps involved
in the system.
Activities:
1. Start: The user starts by entering the item they want to search for.
23
This diagram helps visualize the flow of actions, such as how the data is
collected, processed, and presented to the user.
24
Explanation:
1. Start:
o The user's action to initiate a search query kicks off the workflow.
o The user inputs the item they are searching for through the
interface.
o The user can either refine their search based on the displayed
results to get more specific information or exit the application.
25
3.6 MODULAR HIERARCHY DIAGRAM
The diagram illustrates the top-level modules and their respective sub-modules:
26
JSON Handling: Saves temporary and lightweight data.
27
3.7 COMPONENT DIAGRAM
28
Component Diagram Explanation:
29
Web Scraping Module:
External Systems:
30
A deployment diagram shows the physical deployment of artifacts (software
components) on nodes (hardware components) in a system. It helps visualize the
architecture of the system and the distribution of software across the hardware.
Components:
1. Client Device
2. Web Server
3. Database Server
External Systems:
31
32
3.9 WEB SITE MAP DIAGRAM
33
3.10 Table Specification [Data Dictionary]
The Data Dictionary provides detailed descriptions of the data elements used in
the SmartCart Hub system. It includes table names, attributes, data types, and
descriptions to ensure consistency and clarity in the database design.
1. User Table
3. Platform Table
34
Attribute Data Type Description
4. Price Table
5. Scraper Table
35
Attribute Data Type Description
36