Create a "Hello World" app using Electron
Take the first step in learning how to create native desktop applications with Electron. We'll set up a package.json, create an npm start script to launch our app in development, and create a browser window and load a local HTML file into it.
An important concept to understand about Electron is it's multi-process architecture. The main process creates web pages by creating
BrowserWindow instances, manages application lifecycle events, and more. Each
BrowserWindow instance runs the web page in its own renderer process.