Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.85 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.85 KB

E-commerce Shopping Website with FakeStore Api

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.

Table of Contents

Demo

You can see a live demo of this project here.

Features

  • Home page displays the featured 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.

Tech Stack

  • 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.

Screenshots

Below are some screenshots of the website.

Home Page

Cart/Sidebar

Installation and Setup

  1. Clone the repository to your local machine.
  2. Navigate to the project directory and run npm install to install all dependencies.
  3. Run npm start to start the application.
  4. Open http://localhost:3000 in your browser to view the website.

Thank you! 🤍 – Nigar Safarova