Skip to content
Mezcel edited this page Oct 30, 2018 · 3 revisions

Electron Jquery Mobile App with Express and SocketIO

Main Goals:

  • Desktop standalone and mobile networked app
  • Works as a Server Hosted App.
  • Send/Receive text communication between different app instances

Intended user:

  • local intranet or ad-hoc networks
  • servers hosted on mobile devices with NodeJs server
  • 1-8 Clients who turn off application when not using it
  • absolutely trusted private networks

Key Features:

  • Focuses on Electron page loading and modals
  • Express instant messaging
  • Date specific app events
  • modular json db
  • themes and keyboard shortcuts
  • New: NAB English/ Vulgate Latin languages

NPM

NPM Dependencies

# download and install dependencies
npm install

# start the app
npm start

package.json

{
    "main": "main.js",
    "scripts": {
        "start": "electron ."
    },
    "devDependencies": {
        "electron": "^2.0.0"
    },
    "dependencies": {
        "express": "^4.16.3",
        "jquery": "^1.11.1",
        "popper.js": "^1.14.4",
        "socket.io": "^2.1.1"
    }
}

Build as an executable

If you want to build this app into a standalone executable, use electron-packager

## Globally install electron-packager

npm install -g electron-packager

## Linux install workaround/fix
##      sudo npm install electron -g --unsafe-perm=true --verbose --allow-root


## perform the packager on my desired Electron App directory.

electron-packager .

Wiki:

  • rosary.net
  • The user experience closely resembles an older C# rosary version I made a while back

Screenshots:

Areas Under development:

Clone this wiki locally