live link: https://add-to-cart-sidebar.vercel.app/
I have created this project using Nextjs and Tailwind. I have also used redux for handling add to cart functionality.I have designed this project and mapped all data . I have also created cart sidebar and implemented all functionality. I have handled 0 decrement.I have also added some hover effect. This website is responsive for mobile and desktop devices.
Follow these steps to get the project up and running on your local machine.
Before you begin, ensure you have the following dependencies installed:
- Node.js: Make sure you have Node.js installed on your machine.
- Clone the repository to your local machine using the following command:
git clone https://github.com/saharabanu/add-to-cart-sidebar.git
-
Navigate to the project directory:
cd add-to-cart-sidebar
-
Install the project dependencies using npm:
npm install
Once you've completed the installation you can start the development server:
npm run dev