I’ve created a boilerplate structure for Electron+React to get you started. Download/Clone the repository from here
Once you clone/download the repository go into the folder where you’ve downloaded/cloned the project and run the following command to install necessary modules
After all the modules are downloaded. Run the following commands to start react server.
Your React server should be started and serving on port 3000. Go to http://localhost:3000 in your browser to validate.
Run the following command to start Electron app
Your Electron app should start with react page loaded.