Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kapit4n/react-shopping-cart

React(redux, react router) application to build a shopping cart.
https://github.com/kapit4n/react-shopping-cart

enzyme javascript react-router reactjs redux

Last synced: 2 days ago
JSON representation

React(redux, react router) application to build a shopping cart.

Awesome Lists containing this project

README

        

# Shopping cart app

![Home](https://raw.githubusercontent.com/kapit4n/react-shopping-cart/master/mockups/react-shopping-cart-home.png)

## Available Scripts

### tech
- redux
- react
- react form hooks

### `npm start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.

See the section about [running tests](#running-tests) for more information.

### run with docker
- sudo docker build -t shopping:dev .
- docker run -it --rm -v ${PWD}:/app -v /app/node_modules -p 3001:3000 -e CHOKIDAR_USEPOLLING=true shopping:dev

### installation utils
$ sudo apt-get remove docker docker-engine docker.io
$ sudo apt-get update
$ sudo apt install docker.io
$ sudo snap install docker
$ docker --version

## TODO
- React toolkit tools
- API to save/list product items
- Predictions and Estimations