Run npm install
.
In current setup, the express server is serving both websocket backend and frontend assets (html, js, css). Webpack is used only to produce & watch files, there's no webpack-dev-server.
Run npm run webpack
.
In order to start the server, which handles both real-time webservice and WWW server, run:
npm start
- standard modenpm start -- -v
- verbose mode (prints each currency update on console)npm start -- -p <PORT>
- custom port (default: 8080, http://localhost:8080)