Skip to content
Electron node.js with websocket and web server express
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
www
.gitignore
LICENSE
README.md
composer.json
main.js
package.json

README.md

electron-websocket-express

Electron node.js with websocket and web server express.

This is a minimal Electron application based on the Quick Start Guide within the Electron documentation.

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone git@github.com:mafikes/electron-websocket-express.git
# Go into the repository
cd electron-websocket-express
# Install dependencies
npm install
# Run the app
npm start

Note: If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

Set connection in app

In www/assets/js/connect.js you must set your IP address of server. When you start app, start express server on localhost:8080 and websocket with port 3030. In console you see your IP address where start your server.

let Connect = {
    ip_address: '192.168.100.198', // edit by yours
    port: '3030', // port

Contact

For more information contact me.

You can’t perform that action at this time.