electron-react-app

This project was bootstrapped with Create React App, Electron, and Electron packager.

Screenshot

Install

Clone the project

  git clone https://github.com/megahoma/electron-react-app.git

Go to the project directory

  cd electron-react-app

Install dependencies

  npm install

Usage

Both processes have to be started simultaneously in different console tabs

  npm run react:start
  npm run electron:start

This will start the application with hot-reload so you can instantly start developing your application.

Pakckaging

We use Electron packager to build and package the application. By default you can run the following to package for your current platform

  npm run react:build
  npx electron-packager . --no-prune --ignore=/node_modules --ignore=/e2e --overwrite --ignore=/src 
--ignore=/public

Contribute

Feel free to submit an issue or pull request anytime. If a change is made to the codebase with your PR, you’ll be listed as a contributor.

Coded by megahoma

GitHub

View Github