This repository contains the source code of a React project for creating a digital menu for La Belle Donuts, a donut delivery bakery. The main purpose of the project is to allow customers to view the products offered by the bakery, add items to the cart, and place delivery orders.
- Viewing products with detailed information, including images, prices, and descriptions.
- Adding products to the shopping cart.
- Removing products from the cart.
- Automatic calculation of the total purchase amount based on the selected items.
- Order finalization and redirection to WhatsApp for sending a message with the order information, including the selected items and delivery address.
To run the project locally, you need to have the following installed in your development environment:
- Node.js
- yarn (Node.js package manager)
Follow the steps below to set up the development environment and run Belle Donuts:
-
Clone this repository to your local environment:
git clone https://github.com/daniel-leal/belle_donuts_web.git
-
Navigate to the project directory:
cd belle_donuts_web
-
Install project dependencies:
yarn
-
Start the development server:
yarn start
This will start the application in development mode. You can access it in your browser at http://localhost:3000.
If you would like to contribute to the development of Belle Donuts, please follow the steps below:
-
Fork this repository and clone it to your local environment.
-
Create a new branch for your contribution:
git checkout -b my-contribution
-
Make the desired changes to the code.
-
Commit your changes:
git commit -m "My Contribution"
-
Push the changes to your forked repository:
git push origin my-contribution
-
Open a pull request in this repository, describing your contribution and any relevant details.
Thank you for considering contributing to Belle Donuts! Your help is greatly appreciated. 💜