FakeShop
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
- HTML
- CSS
- JavaScript
Frameworks and Libraries
- React
- Bootsrap
- 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))