Chapter 3
Chapter 3
SYSTEM DESIGN
3.1 OBJECTIVE
The main objective of this chapter is to satisfy the needs of the system
requirements and to handle all user’s needs. Numeric analysis is also taken into
consideration to benchmark the system hardware and software. The Hardware and
Software use matrix has been kept as per the users need. The details are followed
accordingly in this chapter.
A module description provides detailed information about the module and its
supported components, which is accessible in different manners. In this application it
contains two main modules with many sub-modules. The two main and sub-modules
are:
Product module
Category module
Orders module
Payment module
Contact module
Cart module
The admin module within the described system plays a crucial role in managing and
overseeing various aspects of the application. The dashboard encompasses a range of
features, including category counts, total products, sales revenue, feedback analysis, delivery
status, and various other functionalities. This centralized interface provides administrators
with comprehensive insights and tools to effectively manage and monitor the diverse aspects
of the system.
The system also incorporates an employee salary calculation feature, addressing a
fundamental requirement in the process of gathering necessary information. This
functionality enables accurate computation of salaries based on predefined parameters,
ensuring a comprehensive approach to managing employee compensation within the system.
Product Module :
Admins have the ability to manage the product catalog. This includes adding new
products, updating existing product details (such as name, description, and price), and
removing products from the catalog. The organization is enhanced through categorization
into various categories and subcategories, providing users with a structured and navigable
product hierarchy. Detailed product information, including specifications and features, can
be input to aid users in making informed purchasing decisions. Search and filtering options
enhance administrative efficiency, allowing quick identification of specific products within
the catalog. The system provides information on the available quantity for each product, and
if the quantity falls below the specified limit, it indicates 'Out of Stock' to the user. The
system allows for the editing and deletion of products.
Category Module:
The User module stands as one of the primary modules within this application. In
this module, users can utilize their username and password for entry and access to the
screen. Prior to accessing the application, users are required to undergo the registration
process by providing their details. The registration process includes OTP verification. In
the login if user forgets their password, a 'Forgot Password' option is available. By entering
their username and email, users can initiate the password recovery process, and the
password will be sent to their email through the SMTP protocol.
Orders Module :
The Order module holds paramount significance in this user site. Customers can
seamlessly place orders for their desired products through this module. The Add to Cart
option facilitates users in adding multiple products to their cart section. Once users have
completed their product selection, they can proceed to finalize their order. Notably,
customers are not restricted to a specific quantity when adding products to their cart,
allowing for a flexible and user-friendly shopping experience.
Cart Module :
The Cart module encompasses essential details including product name, image,
price, quantity, and total price for a comprehensive overview of selected items.
Convenient buttons such as Update Cart, Continue Shopping and Checkout offer users
flexible navigation and control. Additionally, the cart count is dynamically updated at the
top, providing users with a real-time summary of the number of items currently in their
cart.
Payment Module :
After adding the product to the cart, the subsequent step involves the checkout
process. Within the checkout, there are facilities for applying coupons, allowing
customers to select a coupon and receive a discounted price. During the payment phase,
customers are prompted to provide their details, and the system calculates the total
amount. Clicking the Pay button redirects customers to Razor Pay, where they can
securely complete the payment transaction. Razor Pay is a widely used online payment
gateway that facilitates secure and efficient electronic transactions.
After a successful payment, the user is redirected to a confirmation page, denoted
as the 'Success Page.' On this page, essential information such as the order ID and
payment ID is presented to the user, ensuring transparency and acknowledgment of the
completed transaction. Additionally, a convenient Order Again button is available,
allowing users to easily initiate a new order should they wish to make additional
purchases or replicate a previous order. This user-friendly approach enhances the overall
shopping experience by providing a seamless transition from payment confirmation to the
option of placing another order
Contact Module :
The Contact module includes fields for customer name, email, subject, and
description, allowing users to provide valuable feedback or reach out with inquiries.
Moreover, an integrated map feature enhances user interaction by displaying the precise
location of the shop. This combination of contact information and map integration ensures
a seamless communication channel for customers to engage with the business and share
their thoughts or seek assistance.
LEVEL 0
In Figure 3.1, both Admin and Customer can log in to the system, utilizing their
respective processes within the food shop project. The high-level data flow illustrates
interactions between entities involved in the system. Customers engage with the food shop
by browsing products and utilizing the Cart Module to add items to their cart. When ready
to complete their purchase, customers proceed to the Payment Gateway for the finalization
of the payment process. This systematic approach ensures a streamlined flow of data
between the various components, facilitating a seamless experience for both administrators
and customers within the food shop project.
The administrator has the capability to add products to the appropriate categories,
aiding users in swiftly locating desired items. Additionally, the administrator can create
new categories for products and assign items to the newly established categories.
This streamlined process not only assists users in quickly finding products but also
provides the administrator with the flexibility to create new categories and assign products
to them. It encapsulates the entire system as a single cohesive process and outlines its
relationships with external entities.
LEVEL 1
3.4 ER DIAGRAM
The "Categories" entity plays a pivotal role, offering a systematic classification for
products. Admins leverage this entity to organize the product catalog effectively, ensuring
a streamlined and user-friendly browsing experience.
In the database, the "Orders" entity functions as a repository for comprehensive
details regarding customer purchases. It captures essential information, including order ID,
date, and associated products, facilitating efficient order tracking and management.
The "Admin" entity represents privileged users with elevated system access.
Admins play a crucial role in overseeing various aspects, including product management,
user accounts, and order processing, ensuring the overall efficiency of the system.
Lastly, the "Product" entity embodies the diverse array of items available for
purchase within the system. It includes attributes such as name, price, description, and
images, providing comprehensive information to users throughout their browsing and
ordering journeys.
The intricate web of relationships within the system unfolds as the "User" entity
finds itself entangled in a dynamic many-to-many relationship with the "Order" entity,
illustrating the diverse and manifold connections users establish with various orders. On a
different axis, the "User" entity maintains a distinctive many-to-one relationship with the
"Payment" entity, underscoring the unique and singular nature of payment interactions
within the user domain. Similarly, the "User" entity extends its relational reach, forming a
many-to-one connection with the "Contact" entity, where a multitude of user interactions
converges into a singular contact association.
Finally, the intricate interplay between "Orders" and "Cart" entities unfolds in a
dynamic many-to-many relationship, capturing the complexity of how orders and shopping
carts interweave in the vibrant tapestry of system interactions.
Security
Security is the most important thing on the network. The system verifies the
username and password and then allows the administrator to access the data if only the
username and password is correct; otherwise, it will display the error message. It provides
more security to the administrator for accessing the data.
Maintainability
This system is being developed using HTML that supports all types of data in a
different format, and which has a high community support. Therefore, it is easy to maintain
all data. Maintenance of the system is very flexible and cost effective.
Reliability
Data Integration
Data Independence
Data Security
They protect sensitive data captured at the browser from the point the customer
enters cardholder or personal data, keeping it protected throughout the ecosystem to the
trusted host destination. Solutions that provide an end-to-end data-centric approach to
enterprise data protection are essential.
3.7 TABLE STRUCTURE