Project Report Final Electro Store
Project Report Final Electro Store
CERTIFICATE
CERTIFICATE
This is to certify that,
Wadekar Rushikesh Balasaheb Mulay Prathmesh Santosh
(B401120198) (B401120185)
We thank our parents and colleagues who were persistent in pursue for always
encouraging and pushing us to new potentials, and also helping us in their own unique
ways and skills. This project is dedicated to all those associated, the project is
dedicatedto all of them.
1.1 OVERVIEW
1.2 NECESSITY
1.3 THEME
1.4 OBJECTIVES
1.5 ORGANISATION
2 LITERATURE REVIEW
3 SYSTEM DEVELOPMENT
4 IMPLIMENTATION
4.1 OVERVIEW
4.4 SCREENS
5.1 OVERVIEW
6 CONCLUSION
6.1 ADVANTAGES
6.2 DISADVANTAGES
6.3 APPLICATIONS
6.4 CONCLUSION
7 REFERENCES
PROJECT CERTIFICATE
4.4.4 Sign UP
1.1 OVERVIEW
In the modern digital landscape, ecommerce websites have transformed the way consumers shop,
offering convenience, accessibility, and a wide array of product choices. From electronics to daily
essentials, online platforms have become integral to commerce. With increasing demand for fast,
reliable, and secure online shopping systems, businesses are now moving towards full-stack web
applications that support both frontend and backend capabilities.
This project proposes the development of a full-featured Ecommerce Website designed using React.js
for the frontend, Spring Boot for backend REST APIs, and MySQL as the relational database. It also
includes a JWT-based authentication system for secure login and a clear distinction between admin
and user roles.
The platform allows users to register, browse products, manage carts, place orders, and track them.
Admins can manage products, view orders, and update order statuses. The system is designed to be
scalable, modular, and secure, ensuring smooth operation and user satisfaction. This project
emphasizes not just functional ecommerce transactions but also the architecture, performance, and
security best practices used in enterprise-level systems.
1.2 NECESSITY
Online shopping is no longer a luxury but a necessity. However, many existing systems are either too
generic, lack security, or do not differentiate between user and admin workflows. An effective
ecommerce system should offer:
• A seamless shopping experience for users.
• A secure, token-based login mechanism to prevent unauthorized access.
• A role-based structure to provide proper access controls.
• Real-time order management for administrators.
This project fulfils these requirements by integrating JWT-based security, a structured RESTful
backend, and a responsive, modular frontend using React.js. It empowers both customers and
administrators with efficient tools to interact with the system while ensuring data integrity and a
positive user experience.
1.4 OBJECTIVES
This chapter presents a comprehensive review of research and existing technologies relevant to
building secure, scalable, and interactive e-commerce web platforms. The review includes modern
approaches to frontend development, secure backend architecture, database management, and
authentication systems. It also highlights prior work done in full-stack development, token-based
security, and role-based access control (RBAC) — all critical to the success of the proposed
ecommerce application.
“Spring Boot with JPA: Effective Entity Design and Query Optimization”
This work provides guidance on using Spring Data JPA to map entities, use JPQL, and perform
optimized queries.
All CRUD operations for products, users, and orders are built using Spring JPA with relationships
(Oneto Many, Many To one) to keep queries efficient and schema normalized.
There are several types of user interfaces. For this project, we implement a Graphical User Interface
(GUI) using modern web technologies.
Advantages:
Interactive Experience: Rich product views, modals for login/signup, real-time cart updates.
Frontend:
Backend:
Database:
• MySQL
Authentication:
The project follows an iterative, modular methodology where each feature is developed and
tested in isolated modules before being integrated. Major modules include:
User Authentication
Product Management
• Users can add products to cart, update quantity, and place orders
Order Tracking
Project Description: Ecommerce Website using React.js, Spring Boot, MySQL, and JWT
Authentication
This project is a web-based Ecommerce Management System developed using React.js for the
frontend and Spring Boot for the backend, with MySQL as the database. It provides a complete
shopping experience to users, including login/signup, product browsing, cart management,
checkout, and order tracking. It also includes an admin panel for managing products and orders.
The system ensures secure access using JWT-based authentication and a role-based access
control system.
1. User Authentication:
• Users register and log in using a secure form.
• JWT tokens are generated upon successful login and stored in local Storage.
• User sessions are stateless and secure, supporting both USER and ADMIN roles.
4. Admin Dashboard:
• Admin users can add, edit, and delete products.
• Admins can view all orders and update their status.
• Admin access is protected using role-based authorization.
5. Navigation & UI
• Built using React.js with React Router for route navigation.
• Clean, mobile-responsive UI using Tailwind CSS or Bootstrap.
• Dynamic navbar shows user/admin options based on login status.
Components / Modules:
• User Interface (React.js)
• Authentication System (Spring Security + JWT)
• Product Module (Backend API)
• Cart & Order Module
• Database (MySQL)
• Admin Panel (for product and order management)
Typical Flow:
1. User logs in or registers (JWT issued).
2. User browses product list (fetched from /products API).
3. User adds items to cart and proceeds to checkout.
4. Order is placed and stored in MySQL.
5. User can view past orders; Admin views and updates order status.
The system follows a 3-layered architecture that separates responsibilities across Presentation,
Logic, and Data layers. This modular approach increases maintainability, testability, and scalability.
Architecture Layers
The system uses JWT-based authentication to secure user sessions and implement role-based
access control.
Security Components:
4.1 OVERVIEW:
The implementation of the Ecommerce Website was carried out in a phased and modular approach,
ensuring seamless integration between the frontend, backend, and database components. The system
was developed to support essential ecommerce functionality, including user authentication, product
management, shopping cart, order processing, and administrative control — all while maintaining
high performance, security, and scalability.
The frontend, built using React.js, provides a responsive and interactive user experience with
modern UI components. It interacts with the backend via REST APIs using Axios, and manages
routing, state, and authentication logic efficiently. The backend, developed in Spring Boot, is
responsible for core business logic, API handling, JWT-based authentication, and secure role-based
access control for both admin and user roles.
A MySQL relational database stores all persistent data, including users, products, orders, and cart
items. The schema is normalized and optimized for query performance and integrity. The use of
Spring Data JPA allows seamless interaction between Java objects and database tables.
To ensure secure access, JWT (JSON Web Token) is implemented for user authentication. This
enables stateless and scalable API protection, ensuring only authorized users can access or modify
resources.
Database MySQL
4. Database (MySQL)
MySQL is used as the relational database. JPA annotations such as @OneToMany, @ManyToOne
were used to define relationships between entities.
/Ecommerce Website
│ │ ├── /pages
│ │ │ ├── Home.js
│ │ │ ├── Login.js
│ │ │ ├── Register.js
│ │ │ ├── ProductDetails.js
│ │ │ ├── AdminDashboard.js
│ │ │ ├── UserDashboard.js
│ │ │ └── Checkout.js
│ │ ├── /context
│ │ │ └── AuthContext.js
│ │ ├── /services
│ │ │ └── api.js (Axios config + JWT interceptor)
│ │ ├── App.js
│ │ └── index.js
│ └── package.json
├── /database
│ └── schema.sql
└── README.md
• CONTACT INFO:
• CHAT ASSISTANT:
5.1 OVERVIEW:
The performance analysis of the Ecommerce Web Application was conducted to evaluate its
responsiveness, efficiency, and user experience under typical and stress load conditions. The system
was assessed across key functional modules including authentication, product management,
order processing, and user/admin interactions.
The evaluation focused on:
• API response time
• Database query execution
• Page load and UI render speed
• JWT authentication latency
• System behaviour under concurrent usage
The frontend, built with React.js, demonstrated fast load times due to component-based architecture
and state optimization using Context API. The backend, powered by Spring Boot and secured via
JWT, ensured secure, stateless communication between client and server.
The MySQL database performed efficiently under load, with optimized queries and normalized
schema structures.
Performance Highlights:
• Initial page load (React SPA): ~900ms average on first visit; subsequent routes load
instantly via client-side routing.
• Authentication with JWT: ~350ms average response, including token issuance and
storage.
• Order placement workflow (cart → order): End-to-end completion within ~500ms–
650ms.
• Product data retrieval API (GET /products): ~300–400ms with pagination and filtering
enabled.
• Admin dashboard analytics load: ~700ms (product, user, and order stats combined).
• Database transaction time: Ranges between 50ms–200ms depending on joins and indexes.
Parameter Description
Time taken for backend endpoints to respond to
API Response Time
frontend requests
Time to render key UI components (React DOM
Page Load Time
mount + data fetch)
Database Query Time Execution time for MySQL queries via JPA
Table 5.2: Performance Parameters
Browser Google Chrome (v114+), Mozilla Browser Google Chrome (v114+), Mozilla Firefox
Firefox
Table 5.3: Test Environment
6.1 ADVANTAGES:
6.2 DISADVANTAGES:
• Relies on client-side storage (localStorage) for JWT tokens, which may need secure handling
for production use.
• No built-in payment gateway integration — only product browsing and order creation are
currently functional.
• System performance may degrade without optimization if scaled to thousands of users without
cloud infrastructure.
• Absence of real-time communication features like WebSockets for live order updates.
• Admin panel lacks export/report generation capabilities (can be added in future versions).
• Online electronic stores for product management, user shopping, and order tracking.
• Admin-managed dashboards for controlling stock, orders, and user access.
• Can be used as a template for B2B and B2C ecommerce portals.
• Applicable in educational institutes to demonstrate full-stack development with real-time
authentication.
• Useful for learning advanced concepts like JWT, REST APIs, React component
architecture, and Spring Boot security.
6.4 CONCLUSION:
In this project, a full-stack Ecommerce Website was successfully designed and implemented using
React.js as the frontend framework, Spring Boot for the backend API, and MySQL for data
persistence. A secure authentication system using JWT tokens was integrated to provide a
seamless, stateless login experience and enforce role-based access between users and
administrators.
The application allows users to browse products, add them to a cart, checkout, and view past orders.
Admin users can log in to a dedicated dashboard to manage products, view customer orders, and
update order statuses. The entire architecture is built to be scalable, modular, and maintainable,
with room for future enhancements such as payment gateway integration, real-time updates, and
analytics dashboards.
The performance analysis shows that the system maintains excellent responsiveness, minimal
latency, and a consistent experience under varying user loads. The project fulfills all the planned
objectives and sets a solid foundation for further development in both academic and professional
environments.
38
REFERENCES
5. Material UI – https://mui.com/material-ui/
https://firebase.google.com/docs/auth
39
PROJECT CERTIFICATE
CERTIFICATE OF COMPLETION
“ELECTRONIC STORE WEBSITE USING REACT JS, SPRING BOOT AND MYSQL”
in partial fulfillment of the requirements for the award of the Bachelor of Engineering
(B.E.) degree in [Computer Engineering] under [SPPU] during the academic year 2024–
2025.
The work embodied in this project report is original and has been carried out under the
supervision of:
Date:
Place:
40