Skip to content

jamesavakian62/reactjs_ecommerce_redux

Repository files navigation

react.js redux shopping cart

Example of shopping cart implemented in react.js and redux.js

https://celebrated-sprite-9e394e.netlify.app/

Screen Shot 2022-07-04 at 11 21 25 AM

for demo click here

getting started

install dependencies and start local dev server

npm install
npm start

details

  • build with create react app. Check their page for more details.
  • this example is using redux.js for application state management, to learn more about it I recommend this tutorial.
  • you can look under the hood directly from your browser using redux devtools. Install extension for your browser, open demo page (link above) and see how app state changes when you interact with it.
  • if you wonder why reducers, actions and selectors are all in one file inside folder called ducks, read more here.

TODO

  • add reducers and selectors unit tests

author: Kris Urbas @krzysu
licence: MIT

Copyright (c) 2023 Optical Automation, LLC https://www.OpticalAutomation.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published