This is a React application that fetches product information from the Fake Store API and allows users to browse, filter, and add products to their cart.
- Product Listing: View a list of products with details like title, price, description, category, and rating.
- Filtering: Filter products by category, price range, and sort by price or popularity.
- Search: Search for products by title.
- Add to Cart: Add products to the shopping cart.
- View Cart: View the products added to the cart and their quantities.
- Responsive Design: The application is responsive and works well on different screen sizes.
- React: Frontend library for building user interfaces.
- React Router: For handling navigation between pages.
- Material-UI: React components for faster and easier web development.
- LocalStorage: To store the cart data locally on the user's browser.
-
Clone the repository:
git clone <repository-url>
-
Install the dependencies
cd product-fetching-app npm install -
Run the application
npm start
Checkout the live demo here
https://e-commerce-assignment-cq9alxgoj-himanshur25s-projects.vercel.app/