Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 648 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 648 Bytes

FakeShop

Thumbnail

A React Js e-commerce website. It includes two pages, the homepage to display the list of products and page 2 to display the details of the selected product.

Tech Stack

  1. HTML
  2. CSS
  3. JavaScript

Frameworks and Libraries

  1. React
  2. Bootsrap
  3. Font-Awesome

API's

Get all products

fetch('https://fakestoreapi.com/products')
            .then(res=>res.json())
            .then(json=>console.log(json))

Get a single product

fetch('https://fakestoreapi.com/products/1')
            .then(res=>res.json())
            .then(json=>console.log(json))