Skip to content

mafikes/electron-websocket-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]: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.

About

Electron node.js with websocket and web server express

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published