Skip to content

saakarx/ecom-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Commerce Assignment

Routes

Task

  • Create a simple ecommerce web application using react.js in which show all the products using any API.
  • Delete product from cart & Add to Cart feature must be used in such a way that if same product is added again then its quantity increases in cart and if another product is added then it must be added to the cart list. Quantity increment & decrement option must be there
  • Filter product by price must be used. (any UI/UX design can be used).
  • Cart must have products according to login user account.
  • Register & Login page. (Multiple user login).
  • Make admin panel only to update price of product and delete product.

ENV Variables

Create a .env file with following variables for firebase to run.

VITE_API_KEY = api key
VITE_AUTH_DOMAIN = auth domain
VITE_PROJECT_ID = project id
VITE_STORAGE_BUCKET = storage bucket
VITE_MESSAGING_SENDER_ID = messaging sender id
VITE_APP_ID = app id
VITE_MEASUREMENT_ID = measurement id