Made an E-commerce application where user can add products to cart and buy it.(Only frontend). Using Next.js, TypeScript and Tailwind CSS
State Management (Zustand) - Managed the state of cart items and their quantity. Items in cart will not change when moving from one page to another.
Responsiveness (Tailwind CSS) - Works smoothly on both mobile and desktop
Adding and removal of product from cart - A user will not be able to add the item again, once it is added. User can change quantity from cart. Removal of the product from cart will result in availability of the product on the home page again. Total amount is also shown in the cart.
Built with