E-commerce Filters Application

This project is a responsive e-commerce application built with React, Vite, and modern React hooks such as useState, useEffect, and useContext. The app includes features like product searching, cart management, and dynamic filtering, providing a smooth user experience for browsing and purchasing products.

Features

Product Searching

  • Search Bar: Allows users to search for products by name or keywords.
  • Real-time Filtering: Instant updates to product listings based on search input.

Cart Management

  • Add to Cart: Users can add products to their cart with a single click.
  • Remove from Cart: Users can remove products from their cart.
  • Cart Overview: Displays the total number of items and the total price.

Dynamic Filters

  • Category Filters: Filter products based on categories like electronics, clothing, etc.
  • Price Order Filters: Filter products based on price orders.
  • Rating Filters: Filter products based on customer ratings.

Technologies Used

  • React: JavaScript library for building user interfaces.
  • Vite: Next-generation frontend tooling for blazing fast development.
  • Custom Hooks: Utilized for managing complex state and side effects.
  • Context API: For managing global state, including cart and filter states.

Installation

  1. Clone the repository

    git clone https://github.com/your-username/ecommerce-filters-app.git
    cd ecommerce-filters-app
  2. Install dependencies

    npm install
  3. Start the development server

    npm run dev

Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any features, bug fixes, or enhancements.

License

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