Professional Documents
Culture Documents
ON JOB TRAINING
REPORT
An OJT report
submitted in partial
fulfillment of the
requirements for the award of the degree of
By
Certificate of Originality
(Aryan Raj)
Acknowledgement
Aryan Raj
20VBCA044479
3
Table of Contents
Certificate 1
Acknowledgement 2
Table of Content 3
Chapter I: Abstract 4
Chapter X: Conclusion 26
Chapter I: Abstract
1. Functional Requirements
1.1.1 Home
1.5 Login
1.6 Registration
1.7 Cart
Usability Requirement:
The system shall allow the librarian to access the system
from the computer using this application. The desktop system
uses a web browser as an interface. Since all users are
familiar with the general usage of desktop web browsers,
hence, no special training is required. The system is user
friendly which makes the system easy.
Availability Requirement:
12
The system is available 100% for the user and is used 24 hrs.
a day and 365 days a year. The System shall be operational
24 hours a day and 7 days a week.
Efficiency Requirement:
Mean Time to Repair (MTTR) - Even if the system fails, the
system will be recovered back up within an hour or less.
Accuracy: The system should accurately provide real time
information taking into consideration various concurrency
issues. The system shall provide 100% access reliability.
Performance Requirement:
The information is refreshed depending upon whether some
updates have occurred or not in the application. The system
shall respond to the member in not less than two seconds
from the time of the request submittal. The system shall be
allowed to take more time when doing large processing jobs.
Responses to view information shall take no longer than 5
seconds to appear on the screen.
Reliability Requirement:
The system has to be 100% reliable due to the importance of
data and the damages that can be caused by incorrect or
incomplete data. The system will run 7 days a week, 24 hours
a day.
3. System Requirements
REACT
React is a JavaScript library for developing user interfaces. React
makes it effortless to create responsive UIs. Design basic views for
every state in any application, and React will accurately update and
render just the correct parts when the user's data updates. React
enables users to construct encapsulated parts that manage their
own state, and then combine them to make dynamic UIs. Since
component logic is constructed in JavaScript instead of templates,
you can easily pass detailed data to any app and keep state out of
the DOM. React has been made from the start for continuous
adoption, and you can use as few or as much React as you need.
Whether you want to get a gist of React or include some features to
a basic HTML page, or start a React-powered app, the links in this
section will help you start.
REDUX:
Redux is a JavaScript state management library that is commonly
used in modern web applications, particularly those built with React.
Redux provides a predictable and centralized way to manage the
state of an application, making it easier to understand, debug, and
maintain complex state interactions.
At its core, Redux follows a unidirectional data flow architecture,
where the state of an application is stored in a single, immutable
object called the store. The store represents the current state of the
application and serves as the single source of truth for the state. All
changes to the state are made through actions, which are plain
JavaScript objects that describe what changes need to be made to
the state. Actions are dispatched to the store, and the store uses a
18
function called a reducer to handle the action and update the state
accordingly.
REACT-ROUTER:
React Router is a popular routing library for building single-page
applications (SPAs) with React, a JavaScript library for building user
interfaces. React Router allows developers to handle client-side
routing in React applications, enabling navigation between different
views or pages without triggering a full page reload.
React Router provides a declarative way to define the routes in a
React application. Routes are typically defined as components that
represent different views or pages in the application. These
components can be nested to create nested routes, allowing for
complex routing scenarios. React Router also provides features such
as route parameters, query parameters, and redirects, allowing for
dynamic and flexible routing in a React application.
19
Index.js
const root =
ReactDOM.createRoot(document.getElementById('root'));
root.render(
<BrowserRouter>
<Provider store={store}>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/product" element={<Products />} />
<Route path="/product/:id" element={<Product />} />
<Route path="/about" element={<AboutPage />} />
<Route path="/contact" element={<ContactPage />} />
<Route path="/cart" element={<Cart />} />
<Route path="/login" element={<Login />} />
<Route path="/register" element={<Register />} />
20
Here I have used react router so I have imported all the files in the
index.js file and used the router here itself.
21
Files:-
The field of e-commerce is constantly evolving, and there are several potential
areas of future work in e-commerce websites that businesses and developers
can explore to stay competitive and meet the changing needs of consumers.
Some potential future work areas in e-commerce websites include:
Voice commerce: Voice assistants, such as Amazon's Alexa or Apple's Siri, are
becoming increasingly popular, and voice commerce is expected to grow in the
future. E-commerce websites can explore voice commerce capabilities, such as
voice search, voice-enabled product browsing, and voice-based checkouts, to
cater to users who prefer using voice commands for online shopping.
Enhanced security and data privacy: As online threats and data breaches
continue to be a concern for consumers, e-commerce websites need to
prioritize robust security measures, such as SSL encryption, two-factor
authentication, and regular security audits, to protect customer data and build
trust.
Chapter X: Conclusion