Amazon Clone1
Amazon Clone1
Chapter-1
INTRODUCTION
1.1 Background:-
This project is a web based clone of Amazon shopping system for an existing
ecommerce website ie. Amazon. The project tell about ecommerce application.Amazon and
how it function work
Online shopping is the process where customer directly buy goods or services from a
seller in real-time, without an intermediary service, over the Internet. It is a form of electronic
commerce. This project is attempt to provide the advantages of online shopping to customers
of a real shop, It helps buying the products in the shop anywhere through intermet by using an
computer android device. Thus the customer will get the benefit of online shopping and home
delivery in any situation.
E-commerce has rapidly evalved since the inception of online shopping platform in
the mid1880s. Intial platform focused on basic transation but technology advanced, campnies
like amazon transformed the landscape by introducing sophisticated user interface,
personalized recommendation and extensive product catalogs. This shift marked a significant
change in consumer behavior with online shopping beoming a preferred method for many.
The digital transformation of retail has fundamentally changed consumer behavior and
expectations, making online shopping a vital component of everyday life. Among the various
platforms, Amazon stands out as a pioneer, continuously evolving its offerings and user
experience. This project aims to create a clone of Amazon using ReactJS for the front end and
Firebase for the back end. By doing so, participants will gain valuable skills in modern web
development while understanding the architecture and functionality of a successful
ecommerce platform. The project is an attempt to provide the advantages of online shopping
to customer of real shop It help buying the product in shop anywhere through internet by
using an computer / android devices. Thus the customer will get the service of online
shopping and home delivery from his fav shop.
1
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
1.2 Objective:-
• To provide veers with a personal account to manage their information and order
history.
• To provide user to efficiently search and and fillter product by various criteria.
2
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
1.1.1 Purpose:-
1.3.2 Scope:-
the project focus on user interface development ensuring a responsive and user-
friendly experience that features product listing, search capabitilig and navigation. User
authentication is handled via firebase. authentication allowing secure sign-up and sing-in
processes Additionally. a shopping cart system is integrated to enable users to add, remove
and modify products ensuring smooth shopping experience
The system recommends a facility to accept the orders 24/7 and a home delivery
system which can make customers happy. If shops are providing an online portal where their
customers can enjoy easy shopping from anywhere, the shops won't be krning any cintomers
to the trending inline shops such as Amazon itself. Since the application is available in the
web browser/Smartphone it is easily accessible and always available
It allows for future enhanacements such as adding product review, wish lists and
personalized recommendation, therby enriching the overall user experience. It can also
include an order processing system that manages user transactions.
3
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
1.3.3 Applicability:-
It helps develop e-commerce skill React for building user interface and firebase for
real time data storage and authentication this project not only deper techical Knowledge but
also fosters community. This project also showcases the integration of firebase for backen
service
It can serve as an online store for small businesses, helping them reach more
customers and manage their sales easily. The platform can also be adapted for specific
markets or as a marketplace where multiple sellers can list their products, including second-
hand items. allowing people to sell products without keeping inventory. By integrating with
payment systems and shipping services, it can provide a complete e-commerce solution
It also introduces real-time database integration with Firestore for storing user orders
and product data. Additionally, you gain exposure to payment gateway integration using
Stripe and learn how to deploy scalable applications through Firebase Hosting. This hands-on
experience is highly applicable to building full-stack web apps with interactive UIs and
backend connectivity.
4
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
Chapter-2
SURVEY OF TECHNOLOGY
We can build the Amazon clone project in many languages as well as frameworks
according to user needs. For the frontend, options include Vue. js and so forth You can build
more dynamic interfaces using js, Angular and a simpler version with HTML/CSS/Vanilla
JavaScript. On the backend, Node. Express.js requires more hands-on server logic, while
Django (Python), Spring Boot (Java) or Ruby on Rails abstract much of the heavy-lifting that
would otherwise occur in your backend. For databases, you could replace Firebase with
MongoDB or PostgreSQL, MySQL etc. Additionally, exploring various authentication
methods, like using Auth0, can help you implement advanced security features, while
deploying on AWS introduces you to different hosting environments and deployment
strategies. This exploration fosters versatility in your development approach, preparing you
for real-world scenarios where different projects may require tailored technology stacks.
Traditional frameworks like Angular and Vue.js also offer strong capabilities for
building user interfaces, but React's component-based structure tends to promote better code
reusability and performance through its virtual DOM. server-side languages like Django
(Python) or Ruby on Rails handle backend tasks with built-in features for database
management and user authentication but often require more setup and configuration. On the
backend, Firebase stands out by providing an easy-to-use, serverless solution that manages
real-time data and user authentication out of the box, allowing developers to focus on the
frontend without worrying about server maintenance. While using Node.js with Express gives
more control over backend operations, it requires more development time and effort
compared to Firebase's streamlined approach. Overall, React and Firebase together create a
fast, efficient development environment, making it easier to build interactive applications
compared to more traditional setups that involve separate frameworks for the frontend and
backend.
React and Firebase make for a great combination when building web apps because
they provide complementary features. React is an option possibility on the list to build
dynamic, interactive user interfaces with a component-based called React JS. and this
particular frontend library helps in building reusable code and thus renders content much
efficiently. Whereas Firebase offers a full-fledged backend-as-a-service solution which
includes real-time databases, user authentication and hosting that make simple the overall
development process reducing the time of building project. This is why when combined, they
allow developers to collectively work on the front-end interface designs and another
managing server backend functionalities together with a modern performing web application.
5
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
Each are great technologies individually, and building modern web applications using
both React as well as Firebase makes a ton of sense. React A JavaScript library for building
user interfaces amazingly fast animate all the things that are has to be in websites with React.
It allows easy management of complex UIs and provides lag free experience. Firebase, on the
other hand, gives you an excellent backend that includes real-time databases which means no
server setup, user authentication and cloud storage. therefore, while making we can
concentrate on making a fun to use app instead. Its tight integration with React allows you to
sync data real time, and helps manage your app state over time as we can show how simple it
has been made for building apps that need syncing of actions on the user side. They combine
to give a robust and efficient mechanism for developing applications.
React makes it easy to create interactive user interfaces, while Firebase provides a
powerful backend with features like real-time data and user authentication. This combination
allows developers to focus on building great user experiences without worrying about
complex server setups. Overall, these technologies simplify the development process, making
it faster and more manageable, especially for building modern applications.
6
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
Chapter-3
the initial goal was to create an online bookstore that could offer a wider selection of
books than traditional retail stores. The vision was to leverage the internet's potential to make
shopping more accessible and user-friendly. Over time, Amazon expanded its product
offerings beyond books to include a vast array of items, such as electronics, clothing, and
household goods. The company aimed to provide customers with competitive prices, a wide
selection, and fast delivery, ultimately transforming the way people shop and setting a new
standard for ecommerce. Today, Amazon is a leading global marketplace that continues to
innovate in areas like cloud computing, streaming services, and artificial intelligence.
7
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
user authentication features, allowing users to create accounts, log in, and manage
their profiles securely. The application must support a comprehensive product catalog,
including categories, descriptions, images, and pricing. A shopping cart functionality should
enable users to add, remove, and modify items before checkout. The checkout process must
integrate secure payment options, such as credit card processing through a service like Stripe.
Additionally, it should provide order tracking and history for users, as well as an admin
dashboard for managing products, orders, and user accounts.
8
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
9
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
10
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
The software requirements for an Amazon clone include a frontend framework like
React.js for building the user interface, along with libraries for routing and state management,
such as React Router and Context API. For the backend, Firebase will provide user
authentication, real-time database capabilities, and cloud storage. Development tools Visual
Studio Code as a code editor will enhance collaboration and streamline coding practices. For
testing, the application should be compatible with popular web browsers such as Chrome,
Firefox, and Safari, ensuring a consistent user experience across platforms.
• Frontend :- ReactJs.
• Backend :-Firebase.
Hardware requirements
11
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
12
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
13
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
14
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
3.6.2 ER Model.
3.6.3 Use Case Diagram.
15
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
16
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
17
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
18
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
19
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
Chapter- 4
System Design
4.1 Basic modules:-
3. Product Catalog:- Product Catalog provide showcase od all available items for
user to browers, search and select for purchase. It typically includes detailed descriptions,
high-quality images, pricing, and specifications for each product. A well-structured catalog
not only helps customers easily navigate through various categories, such as electronics,
clothing, or home goods, but also enhances the shopping experience by allowing users to
filter and search for specific items based on their preferences. a product catalog can
streamline the purchasing process, making it easier for customers to add items to their cart
20
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
and check out quickly. It makes it simple for people to see what’s available and decide what
to buy, making the shopping experience smoother and more enjoyable.
21
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
2.Admin Table:-
Field name Type Index Description
Admin_id Int Primary key Admin id
Admin_email Varchar Not null Admin email
Admin _password Varchar Not null Admin password
3.Product Table:-
Field name Type Index Description
Product_id Int Primary key Product id
Order_id Int Order id
Product_name Text Not null Product name
Product
Product_description Text Not null
descriptiton
Product_price Int Not null Product price
22
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
4.Order Table:-
Field name Type Index Description
Order_id Int Primary key Order id
User_id Int Foreign key User id
Order_date Date Not null Order date
Total_amount Int Not null Total amount
Order_Satus Text Not null Order Status
5 Review Table:-
Field name Type Index Description
Review_id Int Primary key Review
Rating Float Not null Rating
comment Text Not null comment
Review_date Date Not null Review date
6.Payment Table:-
Field name Type Index Description
Paymend_id Int Primary key Payment id
User_id Int Foreign key User id
Order_id Int Foreign key Order id
Payment_method Text Not null Payment method
Payment_date Date Not null Payment date
Payment_Satus Text Not null Payment Satus
23
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
1.Registration.
2.Login
24
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
3.Search bar.
4.Add to Cart.
5.Customer review.
25
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
26
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
27
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
Test Test Case Test Step Test Data Expeted Result Actual
Case Id description Request
29
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
2.Search
for product
3. Click on
the product
from the
search
results.
4. Verify
the product
title
display on
the page.
5.Verify
product
images are
displayed.
6. Check if
the product
price is
visible.
Date 2024-
30
ROLL NO:-14 KOYAL BABAR
TYIT-A AMAZON CLONE
2% 98% 10-16
Plagiarised Unique
Words 990
Characters 6974
Content Checked For Plagiarism
31
ROLL NO:-14 KOYAL BABAR