Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielmrz-dev/product-list-with-cart
55th Frontend Mentor Challenge
https://github.com/danielmrz-dev/product-list-with-cart
axios react sass typescript vitejs yarn
Last synced: 20 days ago
JSON representation
55th Frontend Mentor Challenge
- Host: GitHub
- URL: https://github.com/danielmrz-dev/product-list-with-cart
- Owner: danielmrz-dev
- License: mit
- Created: 2024-08-14T16:53:49.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T19:09:46.000Z (6 months ago)
- Last Synced: 2024-11-11T14:43:41.319Z (3 months ago)
- Topics: axios, react, sass, typescript, vitejs, yarn
- Language: TypeScript
- Homepage: https://product-list-with-cart-ten-zeta.vercel.app
- Size: 3.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Frontend Mentor - Product list with cart solution
This is a solution to the [Product list with cart challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/product-list-with-cart-5MmqLVAp_d). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Given design
![Design preview for the Product list with cart coding challenge](./preview.jpg)
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Author](#author)## Overview
### The challenge
Users should be able to:
- Add items to the cart and remove them
- Increase/decrease the number of items in the cart
- See an order confirmation modal when they click "Confirm Order"
- Reset their selections when they click "Start New Order"
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page### Screenshot
![](src/assets/images/screenshot.png)
### Links
- Solution URL: [My solution on Frontend Mentor Platform](https://www.frontendmentor.io/solutions/products-list-with-cart-built-w-react-typescript-RS5XseIsVI)
- Live Site URL: [Live site](https://product-list-with-cart-ten-zeta.vercel.app/)## My process
### Built with
- [Vitejs](https://vitejs.dev/)
- [React](https://reactjs.org/)
- [Axios](https://axios-http.com/)
- TypeScript
- SASS
- Mobile-first workflow
- Yarn### What I learned
This project was a very good exercise to practice the main React hooks: `useState`, `useEffect`, `useContext` and `useRef`.
## Author
- Frontend Mentor - [danielmrz-dev](https://www.frontendmentor.io/profile/danielmrz-dev)
- LinkedIn - [danielmrz-dev](https://www.linkedin.com/in/danielmrz-dev/)