A boilerplate for a react-based electron desktop application, with local database support and fancy touches like dark / light theme and offline detection.
The application is set up with:
- Electron
- Create React App for easy react bootstrapping
- React Router for internal page routing
- Blueprint as UI framework
- React-JSS as styling solution
- minim-json-db for database integration
npm run start
will start the a development server with hot reload, as well with an electron window pointing to the same server, so you can see the changes in real-time in the electron window.
npm run build
will package the electron application using electron-builder as a stand-alone executable.
npm run dist
will package the application as well, but creating an installer instead.