Skip to content

grzegorzpokorski/shopping-cart

Repository files navigation

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

Some screenshots: