An open API service indexing awesome lists of open source software.

https://github.com/adithyasync/e-commerce_platform

A React-Router based E-Commerce Platform
https://github.com/adithyasync/e-commerce_platform

bootstrap component-architecture ejs expressjs fetch-api flexbox flexbox-grid html-css-javascript jsx navigation-architecture-component react react-router rendering rest-api

Last synced: 2 months ago
JSON representation

A React-Router based E-Commerce Platform

Awesome Lists containing this project

README

          

# E-Commerce_Platform
A React-Router based E-Commerce Platform

# User Credentials:
PrimeUser:

username: rahul
password: rahul@2021

Non-Prime User:

username: Raju
Password: Raju@2021

Website Link: https://buyzaar.ccbp.tech

Core Technical Features – E-Commerce Web Application
# πŸ” Authentication & Authorization

Implements secure login/logout functionality using JWT (JSON Web Tokens).

Tokens are stored in browser cookies for session persistence.

Protected routes are enforced using conditional rendering and React Router guards.

Unauthorized access is blocked, and users are redirected based on auth state (e.g., logged-in users can’t access login page).

# 🌐 React Router for SPA Navigation

Utilizes React Router to create a single-page application (SPA) experience.

Route-level protection is handled using Redirect and history.push() methods.

Pages like Products, Cart, and Dashboard are accessible only to authenticated users.

# πŸ“‘ Backend Communication & Data Handling

Performs API calls for login, registration, and product retrieval using fetch or axios.

GET requests handle credential input during login, and POST requests validate access.

User data, product info, and cart details are persisted in a backend database.

Backend supports authentication checks and user management via secure API endpoints.