https://github.com/fiqrioemry/frontend_eccomerce_web_app
Responsive frontend eccomerce website application using ReactJS and Tailwindcss with fake API. Implementing a state management with react redux
https://github.com/fiqrioemry/frontend_eccomerce_web_app
api-rest dummyjson reactjs redux redux-toolkit tailwindcss
Last synced: 11 months ago
JSON representation
Responsive frontend eccomerce website application using ReactJS and Tailwindcss with fake API. Implementing a state management with react redux
- Host: GitHub
- URL: https://github.com/fiqrioemry/frontend_eccomerce_web_app
- Owner: fiqrioemry
- Created: 2024-10-14T15:46:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-10T15:45:12.000Z (about 1 year ago)
- Last Synced: 2025-08-17T11:41:43.365Z (11 months ago)
- Topics: api-rest, dummyjson, reactjs, redux, redux-toolkit, tailwindcss
- Language: JavaScript
- Homepage: https://exclusivemart.netlify.app/
- Size: 83.7 MB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# π Exclusivemart β Static E-commerce Frontend (React + TailwindCSS)
**Exclusivemart** is a modern, responsive e-commerce frontend web app built using **React.js**, **TailwindCSS**, and **Redux Toolkit**. It demonstrates typical online store features like product listing, search, filtering, and user authenticationβall powered by a dummy API. The app is ideal for portfolio presentation or as a base project for e-commerce MVPs.
---
## 1. Project Overview
This project simulates a typical online store experience for end-users. It provides core e-commerce functionality including dynamic product listing, search, cart, checkout flow, and restricted user profile routes. The app communicates with a mock API to fetch product data and user sessions.
---
## 2. Project Goals
- Build a fully responsive e-commerce interface using React and TailwindCSS.
- Fetch and display product data from a dummy API (dummyjson.com).
- Enable user login simulation and session-based restricted access.
- Provide essential UX flows: search, filtering, pagination, cart management, and checkout summary.
---
## 3. Challenges
- Managing nested route access for authentication-protected pages.
- Organizing Redux logic for products, users, cart, and checkout.
- Implementing dynamic filtering, sorting, and pagination efficiently.
- Ensuring lazy-loading and suspense fallback for optimal performance.
---
## 4. Approach & Solution
The app is structured using React + React Router DOM for routing, Redux Toolkit for state management, and Axios for external API communication. Lazy-loaded pages reduce bundle size and improve performance. Restricted pages are wrapped in authentication middleware using cookie checks. Product data, including categories and details, are dynamically fetched from dummyjson API.
---
## 5. Key Features
- ποΈ **Product Catalog** β Displays real-time products with categories, price, ratings, and images.
- π **Search & Filter** β Supports keyword-based search, category filtering, and sorting.
- π **Shopping Cart** β Add/remove products, quantity management, and cart summary.
- π **Auth-Protected Routes** β User profile and checkout require simulated login.
- π¦ **Checkout Summary** β Displays selected products, total price, and shipping details.
- πͺ **Cookie-Based Auth Simulation** β Implements fake login with cookie-based protection.
- π **Pagination** β Handles product pages efficiently for large datasets.
- β»οΈ **Reusable Components** β Header, Footer, ProductCard, FilterMenu, etc.
- β‘ **Lazy Load Pages** β Optimizes initial load with `React.lazy` and `Suspense`.
- π± **Responsive Design** β Fully adaptive for mobile, tablet, and desktop views.
---
## 6. Tech Stack
- React.js
- TailwindCSS
- Redux Toolkit
- React Router DOM
- Axios
- React Toastify
- Framer Motion
- React Slick / Swiper
---
## 7. Getting Started
1. **Clone the repository**
```bash
git clone https://github.com/fiqrioemry/Frontend_eccomerce_web_app.git
cd Frontend_eccomerce_web_app
```
2. **Install dependencies**
```bash
npm install
```
3. **Run locally**
```bash
npm start
```
---
## π Live Demo
π [https://exclusivemart.netlify.app](https://exclusivemart.netlify.app)
---
## π¨βπΌ Author
- Website: [https://ahmadfiqrioemry.com](https://ahmadfiqrioemry.com)
- LinkedIn: [linkedin.com/in/ahmadfiqrioemry](https://linkedin.com/in/ahmadfiqrioemry)
- Instagram: [@oemryfiqri](https://instagram.com/oemryfiqri)
- Medium: [@foemry](https://medium.com/@foemry)
---
## π Folder Structure Highlights
```
src/
βββ components/ # Reusable UI components (Header, Footer, ProductCard)
βββ pages/ # Page views (Home, About, Contact, ProductDetail, etc.)
βββ middleware/ # Auth wrapper (UserAuth, NonUserAuth)
βββ reducer/ # Redux slices and logic
βββ features/ # ScrollToTop, PageLoading, etc.
βββ App.jsx # Root component and route logic
βββ main.jsx # App entry point
```
---
## π License
This project is licensed under the MIT License β feel free to use and modify.
## πΈ Preview Screenshots




