- user signUp , signIn and signout is handled by firebase authentication helps user to authenticate while performing any functionality.
- state managed globally by user context API
- state managed globally by product context API
- in first page products are shown where user can search products and and filter by price and category
- if user is authenticated then user can add product to cart if clicked once but when clicked again product quantity increases
- cart will be shown when user is authenticated after clicking on it we can see cart's items and total price of items. Here we can purchase cartItems.
- we can remove cartItems , cartItems can be increased or decreased
- after purchasing products user is redirected to order page where we can see list of ordered items.