Skip to content

A responsive e-commerce demo application built with React, TailwindCSS, and React Router. Users can browse products from the Fake Store API , view product details, and manage their favorite items using React Context. The project demonstrates CRUD operations, API integration, dynamic routing, and state management in a modern React environment.

License

Notifications You must be signed in to change notification settings

DevAmirHub/fakestore-app

Repository files navigation

FakeStore E-Commerce App

A modern, responsive e-commerce application built with React and Vite, featuring a beautiful glassmorphism design with dark theme support.

🚀 Features

  • Product Catalog: Browse products from FakeStore API
  • Product Filtering: Filter products by category, price range, and rating
  • Shopping Cart: Add/remove items with quantity management
  • Favorites System: Save products to favorites
  • Dark/Light Theme: Toggle between themes with smooth transitions
  • Glassmorphism Design: Modern glass-like UI components
  • Responsive Design: Works perfectly on all device sizes
  • Product Details: Detailed product information with image gallery
  • Search Functionality: Find products quickly
  • Smooth Animations: Enhanced UX with Framer Motion

🛠️ Tech Stack

  • Frontend: React 19, Vite
  • Styling: Tailwind CSS 4
  • Routing: React Router DOM
  • Animations: Framer Motion
  • HTTP Client: Axios
  • API: FakeStore API

📦 Installation

  1. Clone the repository:
git clone <repository-url>
cd fakestore-app
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open your browser and navigate to http://localhost:5173

🎨 Design Features

Glassmorphism

  • Frosted glass effect on cards and modals
  • Subtle transparency with backdrop blur
  • Elegant shadows and borders

Dark Theme

  • Smooth theme transitions
  • System preference detection
  • Persistent theme selection

Responsive Layout

  • Mobile-first design approach
  • Adaptive grid layouts
  • Touch-friendly interactions

🚀 Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run lint - Run ESLint

📱 Features Overview

Product Management

  • View all products in a responsive grid
  • Filter by category (electronics, clothing, etc.)
  • Sort by price, rating, or name
  • Search products by title

Shopping Cart

  • Add/remove items
  • Update quantities
  • View cart total
  • Persistent cart state

User Experience

  • Loading states and error handling
  • Smooth page transitions
  • Optimized performance
  • Accessibility features

🎯 Future Enhancements

  • User authentication
  • Order history
  • Product reviews and ratings
  • Payment integration
  • Admin dashboard
  • Product recommendations

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📞 Support

If you have any questions or need help, please open an issue on GitHub.

About

A responsive e-commerce demo application built with React, TailwindCSS, and React Router. Users can browse products from the Fake Store API , view product details, and manage their favorite items using React Context. The project demonstrates CRUD operations, API integration, dynamic routing, and state management in a modern React environment.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published