This project is a simple implementation of a shopping cart application built using React. It leverages the FakeStore API to simulate fetching product data from a backend server. The primary goal of this project is to provide a practical exercise for practicing React development skills, including state management, component composition, and API integration.
Product Listing: Display a list of products fetched from the FakeStore API. Add to Cart: Allow users to add products to their shopping cart. Remove from Cart: Enable users to remove products from their cart. Cart Summary: Show a summary of the items in the cart, including total price and quantity. Responsive Design: Ensure the application is usable and visually appealing across different screen sizes.
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install dependencies using npm install or yarn install.
- Start the development server with npm start or yarn start.
- Open your browser and navigate to http://localhost:5173 to view the application.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.