Skip to content

mqkhan125/react-ecommerce-products

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛒 React E-Commerce Products

A modern and responsive React E-Commerce web application built using React, Tailwind CSS, React Router, and FakeStore API. This project demonstrates real-world e-commerce functionality including product listing, product details, category filtering, and global search with a clean and professional UI.

🚀 Live Demo

👉 http://localhost:5173/

📸 UI Preview

🏠 Home Page HomePage

🛍️ Products Page ProductsPage

📦 Product Details Page detailsPage

📬 Product Categories Category Product

✨ Features

✅ Modern and responsive UI

✅ Product listing from FakeStore API

✅ Product detail page

✅ Global search functionality

✅ Category filtering

✅ React Router navigation

✅ Shared state using Outlet Context

✅ Professional Hero section

✅ Featured products section

✅ Category cards section

✅ Why Choose Us section

✅ Newsletter subscription section

✅ Clean and reusable components

✅ Mobile responsive design

🧰 Tech Stack

Frontend

React JS

Tailwind CSS

React Router DOM

Axios

API

FakeStore API

Build Tool

Vite

📂 Project Structure react-ecommerce-products/ │ ├── public/ │ ├── src/ │ ├── Component/ │ │ ├── Footer.jsx │ │ ├── Navbar.jsx │ │ │ ├── pages/ │ │ ├── Home.jsx │ │ ├── Products.jsx │ │ ├── ProductDetails.jsx │ │ │ ├── App.jsx │ ├── main.jsx │ ├── screenshots/ │ ├── home.png │ ├── products.png │ ├── product-detail.png │ ├── package.json ├── README.md ⚙️ Installation

  1. Clone the repository git clone https://github.com/mqkhan125/react-ecommerce-products.git
  2. Navigate to project folder cd react-ecommerce-products
  3. Install dependencies npm install
  4. Run the project npm run dev 🌐 API Used

FakeStore API

https://fakestoreapi.com/products 🎯 Learning Objectives

This project demonstrates:

React component architecture

API integration using Axios

State management

React Router navigation

Context sharing using Outlet

Modern UI design using Tailwind CSS

Professional project structure

📱 Responsive Design

Fully responsive and works on:

Mobile

Tablet

Desktop

👨‍💻 Author

Muhammad Qasim Khan

GitHub: https://github.com/mqkhan125

About

A modern React e-commerce app featuring product listing and detail pages, client-side routing with React Router, API data fetching using Axios, and responsive UI built with Tailwind CSS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors