Skip to content

This project is a clone of a popular beauty e-commerce site, utilizing a fake API to mimic real-world functionalities and data.

Notifications You must be signed in to change notification settings

uttammane1/E-Commerce-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Product-Listing-Web-Application-using-FakeStoreAPI

Usage

To use the Fake Store API, you can make HTTP requests to the following endpoints:

/products: Fetches a list of products. /products/{id}: Fetches a single product by ID. /categories: Fetches a list of categories. /categories/{id}: Fetches a single category by ID. /users: Fetches a list of users. /users/{id}: Fetches a single user by ID.

Documentation

For more information about the Fake Store API, including request and response formats, please see the official documentation at https://fakestoreapi.com/documentation.

Code Examples

fetch('https://fakestoreapi.com/products') .then(response => response.json()) .then(data => { console.log(data); }) .catch(error => { console.error('Error fetching products:', error); });

About

This project is a clone of a popular beauty e-commerce site, utilizing a fake API to mimic real-world functionalities and data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published