Web socket implementation with Socket.io & Electron & React JS
Install npm packages. You may need --unsafe-perm
parameter to instal node-sass
without error in some linux disturbitions.
yarn install
Run development server. Use yarn run dev
for production
yarn run dev
Run web server to bind socket connections in another tab. It will run in port 8081. You can it in server.js
file.
node server
Run Electron in another tab.
yarn run start