Based on the React chat-app example from Horizon.io.
You'll need Horizon installed first: npm install -g horizon
git clone git@github.com:shanecav/horizon-redux.git
cd horizon-redux
npm install
cd examples/chat-app
npm install
hz init
hz serve --dev
- In a new terminal (at the same directory):
npm start
Now you can view the chat-app example at http://localhost:3000/. Play around with it to see how horizon-redux works! Try opening it in another browser window to see the realtime changes take effect.