This is a fully responsive e-commerce shopping website project built using React and Tailwind CSS. The website utilizes the Fake Store API to fetch data and display products. The Context API is used to manage state throughout the application.
You can see a live demo of this project here.
Home pagedisplays thefeatured products, which are fetched from the Fake Store API. Each product card displays the product image, name, and price.Product Detailspage showing a detailed view of the selected product, including an image, title, description and price.Cartpage displaying the added products, quantities and total price. The user can add or remove products from the cart, and the cart will update accordingly.- Fully
responsive designthat can adapt to different screen sizes and devices.
- React: A JavaScript library for building user interfaces
- Tailwind CSS: A utility-first CSS framework for rapidly building custom designs.
- Fake Store API: A free API for testing and prototyping e-commerce websites
- Context API: A React API for managing global state in an application.
Below are some screenshots of the website.
- Clone the repository to your local machine.
- Navigate to the project directory and run
npm installto install all dependencies. - Run
npm startto start the application. - Open
http://localhost:3000in your browser to view the website.
Thank you! 🤍 – Nigar Safarova

