- View the list of product categories
- View the list of product by categories
- Easily add or remove a product from cart
- View the detail page of each product for more information and
for product recommandation - View your cart, increase or decrease each product count, clear your cart
- View the checkout page and make a fake payement
Live version : click here
- JavaScript
- React
- Vite
- Tailwind CSS
The figma mockup used to create this app can be found here
and was an initiative by the figmaToCode
team 🙏.
The app has a public container image on docker hub\
and you can run it with docker run
command.
Note: You need to have Docker installed before following these instructions.
- Make sure Docker engine is running
on your system and Docker client is accessible from your command line - Then run this command:
docker run --rm -p 5173:5173 romulad/ballamas
Visit the url displayed in your terminal to view the app.
To run this app locally make sure you have the following prerequisites on your system:
- Node.js, this include
npm
(Node Package Manager) will be use to run the app. - Git for cloning the repository.
- Open your terminal
- navigate to the folder where you want to clone the repository
- then run:
git clone https://github.com/Romulad/figma-to-code-ed2-week2.git
This command will clone this repository to your local machine.
In your terminal :
- Navigate to the new directory created by running:
cd figma-to-code-ed2-week2
- install the necessary packages by running this command:
npm install
- once the installation is completed start the app with:
npm run dev
And you're done! visit localhost:5173 to view the app.
Note : To run this app in production, you can use nginx.Dockerfile
dockerfile
to build the image and run the container