This is a fully responsive Flipkart based 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 page
displays thefeatured products
, which are fetched from the Fake Store API. Each product card displays the product image, name, and price.Product Details
page showing a detailed view of the selected product, including an image, title, description and price.Cart
page 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 design
that 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 install
to install all dependencies. - Run
npm start
to start the application. - Open
http://localhost:3000
in your browser to view the website.