Skip to content
🛍️ Simple ecommerce cart application built with React Redux
Branch: master
Clone or download
Pull request Compare This branch is 10 commits behind jeffersonRibeiro:master.
Latest commit 01f4c44 Feb 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci CI and readme update Jan 5, 2019
.firebase
doc gif minified [skip ci] Jan 5, 2019
e2e Fixed add product in mobile and total initial state Jan 5, 2019
public SEO update Feb 20, 2019
server Sort and Filter working again Jan 5, 2019
src
.editorconfig
.firebaserc Deploying to Firebase Jun 2, 2018
.gitignore initial commit Apr 5, 2018
.prettierrc refactoring code Jan 5, 2019
LICENSE.md Readme update Jan 5, 2019
README.md Update README.md Feb 23, 2019
firebase.json Deploying to Firebase Jun 2, 2018
package-lock.json Replacing ComponentWillMount by ComponentDidMount Jan 9, 2019
package.json Replacing ComponentWillMount by ComponentDidMount Jan 9, 2019
wdio.conf.js

README.md

🛍️ Simple ecommerce cart application CircleCI

Basic Overview - Live Demo

This simple shopping cart prototype shows how React components and Redux can be used to build a friendly user experience with instant visual updates and scaleable code in ecommerce applications.

Features

  • Add and remove products from the floating cart
  • Sort products by highest to lowest and lowest to highest price
  • Filter products by available sizes
  • Products persist in floating cart after page reloads
  • Unit tests, integration tests and e2e testing
  • Responsive design

Getting started

Try playing with the code on CodeSandbox :)

Edit app

Build/Run

Requirements

  • Node.js
  • NPM
/* First, Install the needed packages */
npm install

/* Then start both Node and React */
npm start

/* To run the tests */
npm run test

/* Running e2e tests */
npm run wdio

About tests

  • Unit tests
    • All components have at least a basic smoke test
  • Integration tests
    • Fetch product and add to cart properly
  • e2e
    • Webdriverio - Add and remove product from cart

Copyright and license

The MIT License (MIT). Please see License File for more information.



A little project by Jefferson Ribeiro

You can’t perform that action at this time.