Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.54 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.54 KB

Pastry Basket Application

This is a simple application that allows users to add and remove pastries to a basket and calculate the total amount.

Features

  • Add baklava to the basket by selecting from the available options
  • Remove baklava from the basket by clicking on the remove button
  • Increase or decrease the amount of baklava in the basket using the increase and decrease buttons
  • See the total amount calculated based on the number and price of baklava in the basket

Dependencies

This application was built using Redux Toolkit, which is a package that provides a set of tools to simplify the process of managing state in React applications.

Getting Started

To run the application, follow these steps:

  1. Clone this repository to your local machine
  2. Open the terminal and navigate to the root folder of the project
  3. Run npm install to install the required dependencies
  4. Run npm start to start the development server
  5. Open your browser and navigate to http://localhost:3000

Folder Structure

The application's code is organized into the following folders:

  • `app` - Contains the main application component and the Redux store.
  • `features` - Contains the `basket` slice, which defines the state and actions related to the basket.
  • `components` - Contains the reusable components used in the application.

Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request.

ScreenGif