This project was bootstrapped with Create React App.
In the project directory, you can run:
To install dependencies of our application
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.
Email -"test@shop.com" Password - "test123"
Email -"test1@shop.com" Password - "test123"
Email -"test2@shop.com" Password - "test123"
Email -"test3@shop.com" Password - "test123"
Email -"test4@shop.com" Password - "test123"
- Homepage should list all products in a categorized manner. Product details are hardcoded.
- In the header add cart page link and cart items count and login button(if user is logged in then show my account).
- Once login, on clicking profile icon your account will be loggedout.
- The Cart page displays all the added products with the remove icon, quantity editable input and quantity increase/decrease button.
- Right-end side show cart summary with total items, discounted price, total quantity and process to checkout button.
- The Checkout page should check for whether the user is logged in or not before showing the page.
- Clicking on Confirm Order should save the order. After saving the order, the user should be redirected to the home page with the cart cleared.
Adding Intersection observer to lazy load images
-
npm install
-
npm start