https://github.com/c0debrain/react-redux-example
https://github.com/c0debrain/react-redux-example
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/c0debrain/react-redux-example
- Owner: c0debrain
- Created: 2018-10-11T05:55:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T05:56:47.000Z (over 7 years ago)
- Last Synced: 2025-02-21T13:13:56.763Z (11 months ago)
- Language: JavaScript
- Size: 2.28 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Init project (Server)
npm init -y
npm install --save-dev babel-core babel-cli babel-preset-es2015 mocha chai
##npm install --save-dev mocha chai
## Run tests
./node_modules/mocha/bin/mocha --compilers js:babel-core/register --recursive
npm install --save immutable
npm install --save-dev chai-immutable
## install redux
npm install --save redux
## Install socket.io
npm install --save socket.io
# Init project (Client)
mkdir voting-client
cd voting-client
npm init -y
## Add webpack
npm install --save-dev webpack webpack-dev-server
--NOTE: install webpack-cli
## Run webpack globally
npm install -g webpack webpack-dev-server
## Add ES6
npm install --save-dev babel-core babel-loader babel-preset-es2015 babel-preset-react
## Testing
npm install --save-dev mocha chai
--Karma or
npm install --save-dev jsdom
## Install immutable
npm install --save immutable
npm install --save-dev chai-immutable
## Install reactDom and hot loader
npm install --save react react-dom
npm install --save-dev react-hot-loader