Skip to content

kajalpandey0104/ecomm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction of project

This is the 3rd React Skill test project assigned by Coding Ninjas. Project Name: Ecommerce app

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

Hosted On

open https://kajal-ecomm.netlify.app/ to view it in your browser

Features

All the featuere works on temporary which is ADD, DELETE and UPDATE (except fetch).

fetch data

fetching data and showing products on your browser using the API -> https://dummyjson.com/products.

Add a product

Add a product, make 'POST' call to the API url(from where we are fetching) and save the product to react state(It is a dummy request data, we won't be able to add on the server data. But request is valid and will send some data.)

Delete a product

Delete a product using redux fetched products

Update a product

Update a product using redux fetched products

Add a product to cart

Add product a product to cart using redux fetched products

View a product in cart

view a product in cart using redux fetched products

Increase and decrease quantity in cart

In cart we can Increase and decrease the item quantiy also using redux fetched products.

sort by price

In homepage we can sort the products by price.