In this challenge, you will develop an application to manage a shopping cart for a fictional coffee shop, which contains the following features:
Although there are few features, you will need to remember concepts such as:
To complete this challenge, you may need to do research to learn about array manipulation methods such as reduce
, which will be extremely useful for calculating the total value of the cart.
For this application we provide a layout so that you can follow and implement all the features designed in figma.
To access Figma, you must first create an account on the platform.
To set up a local copy of this repository:
For SSH (recommended for secure, key-based authentication), use:
git@github.com:fabiobatoni/Coffe-Delivery.git
For HTTPS (simpler setup, ideal for quick trials), use:
https://github.com/fabiobatoni/Coffe-Delivery.git
Follow these steps to set up the Coffe-Delivery environment on your local machine:
cd Coffe-Delivery
In the project directory, run:
npm install
Prerequisite
node
by running the command node --version
. According to "Minimum Runtime Requirements", TypeScript requires
node
version 18.17.1 or later.To start the Coffe-Delivery, follow these steps:
Use the commands to run:
npm run dev
Once the server is running, open your preferred web browser and navigate to: