Skip to content

egisnmir/react-shop

Repository files navigation

To run it locally simply do:

  1. yarn install
  2. yarn start
  3. run backend at /backend/app.js using "node app.js"
  4. localhost:3000

Testing:

  • yarn test
  • yarn test:coverage

Bugs:

  • Product update Notifications are a bit messy
  • Favorites page. There is an error here with the keys when loading the favorites page directly. it's because we are fetching data from the backend for the products list but the favorites list is just a hardcoded value in the context

Things to add:

  • Add product search input

  • Add product creation form. Add validation and use refs

  • Implement authentication with JWT?

  • React Testing Library for unit & integration testing.

  • Cypress for E2E testing.

  • Add themes using context

  • Add data randomizer to backend with a 30-50% chance of changing data to use memoization

About

React cart implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published