Welcome to my shopping website project! This project is built using React and includes features like a cart functionality, product display, and more.
This project is deployed on Netlify The link is bellow,
Here's a live demo of the project: https://shopping-cart-using-context-api-guvi.netlify.app/
- Product display with details and images
- Cart functionality: add and remove products, adjust quantities
- Navigation between home and cart pages
- Total price calculation based on cart contents
-
Clone the repository:
git clone https://github.com/Shanmugamrskfamily/shopping-cart-using-context-api.git
-
Install dependencies:
cd your-project
npm install
- Start the development server:
npm start
- Open your browser and navigate to http://localhost:3000 to view the app.
- Browse the home page to view available products.
- Click "Add to Cart" to add a product to the cart.
- Navigate to the cart page to manage your cart contents.
- Adjust product quantities using the "+" and "-" buttons.
- Click "Remove from Cart" to remove a product from the cart.
- React
- React Router
- Context API for state management
- HTML/CSS
- Bootstrap for styling
Contributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.
This project is licensed under the MIT License.