A React jewelry shopping cart built using Context API. This is the first front-end project that I have written tests for with React Testing Library. Writing tests has helped me write cleaner code, 'catch' some bugs and be more confident about refactoring my code.
- Browse items
- Add/remove from cart
- Update quantities, totals
- Reset cart
Clone the repository:
git clone git@github.com:RReiso/sparkles.git
cd sparkles
Install dependencies:
npm install
Run the app:
npm start
Open http://localhost:3000 to view it in your browser.
- lorem-ipsum: ^2.0.4
- random-bool: ^1.0.2
- random-float: ^2.0.0
- react: ^17.0.2
- react-dom: ^17.0.2
- react-router-dom: ^6.2.1
- react-sparkle: ^1.0.9
- sass: ^1.49.7