Best Of Hello World: NodeJS ElectronJS Desktop Application
This is a very simple and basic application for electron JS Desktop App. This uses the Index HTML page to load and some basic window functions in electron JS.
This sample code is fully executable on its own based on the prerequisites are set up properly.
You are required to have few tools before you start with using the source code.
- Electron JS
Install NodeJS for the OS platform you are using. Later than use below command to install electron JS.
npm install --save-dev electron
Setup Code Base
Use below URL to Clone Source Code
git clone https://github.com/get2mandar/electronjs-app.git
Build a Project Node Package Manager.
Execute below command to build Application using npm.
# Go into the repository $ cd electronjs-app # Install dependencies $ npm install
To execute this Application, use below npm command.
# Make sure that you are in directory 'electronjs-app' # Run the app $ npm start