A example project that uses electron, express and has prepared to use native modules.
To distribute and package the app. For more info: (electron-builder)[https://github.com/electron-userland/electron-builder]
To rebuild nate Node.js modules, more info : (electron-rebuild)[https://github.com/electron/electron-rebuild]
(This project has been tested on windows)
- Clone the project.
- In app folfer type
npm install
- test the server without electron typing
app>node src\server.js
- test the server with electron typing
app>electron .
- to build and package the project
app> npm run dist
- win
- win-unpacked