Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/grzegorzpokorski/shopping-cart

Simple shopping cart
https://github.com/grzegorzpokorski/shopping-cart

cypress react tailwindcss typescript vite

Last synced: about 1 month ago
JSON representation

Simple shopping cart

Awesome Lists containing this project

README

        

# Shopping cart

Simple shopping cart app which allows to add items to cart, manage them in it and save placed orders to look for them in shopping history. You can also mark items as favorite. App uses localStorage to persist app state.

## 📍 Purpose of creating this app:

Learn how to use useReducer hook in action. Test how it is when components are organised in atomic design methodology. Learn to write unit and e2e tests.

## 🛠️ Used tools and technologies:

- React
- TailwindCSS
- Vite
- Vitest + React Testing Library
- Cypress
- i18next

## ⚙️ How to run this app locally on my computer?

1. Clone this repository (`git clone https://github.com/grzegorzpokorski/shopping-cart.git`).
2. Run `npm install`.
3. Run `npm run dev`.

## 🔗 Live version of app:

[https://shopping-cart-gp.vercel.app](https://shopping-cart-gp.vercel.app)

## Some screenshots:

![](/mockups/1.png?raw=true "Home page")

![](/mockups/2.png?raw=true "Home page with open basket")

![](/mockups/3.png?raw=true "Page with favourite items")

![](/mockups/4.png?raw=true "Shopping history")