Skip to content

Responsive e-commerce website built using React and Tailwind CSS, with data fetched from the Fake Store API.

Notifications You must be signed in to change notification settings

nsafarova/ecommerce-shop-react-app

Repository files navigation

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

About

Responsive e-commerce website built using React and Tailwind CSS, with data fetched from the Fake Store API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published