Skip to content

ui-vivek/Cart-Using-React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cart App

This project is a Cart App created in React. Firebase is used to store the image and numbers of items in the cart and the total price of the cart items. Tailwind CSS is used to style the app. Class components are used, along with useState hook, to increase and decrease the quantity of the product and delete items from the cart.

Live URL: https://cart-19na.onrender.com/

Installation

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Run npm install to install the dependencies.
  4. Run npm start to start the development server.
  5. Open http://localhost:3000 in your browser to view the application.

Features

  • Uses Firebase to store the image and numbers of items in the cart and the total price of the cart items.
  • Uses Tailwind CSS to style the app for a modern and responsive design.
  • Uses class components and the useState hook to manage state and events for updating the quantity of the product and deleting items from the cart.

Contributing

Contributions are welcome and encouraged! To contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes and push the branch to your forked repository.
  4. Submit a pull request to the main repository.

License

This project is licensed under the MIT License. See LICENSE for more information.