POC for real-time data updates with React, MobX and WebSockets.
-
Install Node.js (choose Current)
- From nodejs.org (All platforms)
- Or using Homebrew (Mac)
- Or any other package manager
-
git cloneor Download this repo- If using clone, remove the
.gitfolder and init a new Git repo
- If using clone, remove the
-
Install dependencies (at the root of the repo):
npm install
npm start
- Open
http://localhost:8080
npm run build
- Must use a server that redirects missing routes back to
index.html
npm i -g live-server
cd dist/
live-server --entry-file=index.html