https://github.com/cemutku/react-redux-shopping-cart-example
Simple react-redux example
https://github.com/cemutku/react-redux-shopping-cart-example
docker react reactredux redux
Last synced: about 2 months ago
JSON representation
Simple react-redux example
- Host: GitHub
- URL: https://github.com/cemutku/react-redux-shopping-cart-example
- Owner: cemutku
- Created: 2019-12-20T09:54:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-12-31T19:28:23.000Z (5 months ago)
- Last Synced: 2026-01-03T19:28:20.898Z (5 months ago)
- Topics: docker, react, reactredux, redux
- Language: JavaScript
- Size: 1.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Simple React-Redux Example
This project contains basic usage of redux pattern and react-redux library.
Also has basic docker and docker-compose example. It sets current working directory to the container volume. So you can run dev server from container and start development.
## Development Environment
run `npm install` for necessary packages
**Development with docker-compose**
run `docker-compose -f "docker-compose.yml" up -d --build` command in project directory that contains docker-compose.yml file
**Without docker-compose**
Run `docker build --pull --rm -f "Dockerfile" -t reactreduxshoppingcartexample "."` for building image. Than run
`docker run --name reactreduxapp -p 3000:3000 -v "$(pwd):/src" reactreduxshoppingcartexample` to start a container for development
**Development without docker**
run `npm start` for development server.