https://github.com/leoncvlt/electron-react-app
⚛ React-based electron desktop application boilerplate, with local database support, dark / light theme and offline detection
https://github.com/leoncvlt/electron-react-app
boilerplate electron react
Last synced: about 1 month ago
JSON representation
⚛ React-based electron desktop application boilerplate, with local database support, dark / light theme and offline detection
- Host: GitHub
- URL: https://github.com/leoncvlt/electron-react-app
- Owner: leoncvlt
- Created: 2020-07-26T08:28:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-05T19:17:50.000Z (over 2 years ago)
- Last Synced: 2025-02-10T11:50:05.080Z (over 1 year ago)
- Topics: boilerplate, electron, react
- Language: JavaScript
- Homepage:
- Size: 1.45 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# electron-react-app
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](https://www.electronjs.org/)
- [Create React App](https://github.com/facebook/create-react-app) for easy react bootstrapping
- [React Router](https://reactrouter.com/) for internal page routing
- [Blueprint](https://blueprintjs.com/) as UI framework
- [React-JSS](https://cssinjs.org/react-jss) as styling solution
- [minim-json-db](https://www.npmjs.com/package/minim-json-db) for database integration
## Development
`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](https://www.electron.build/) as a stand-alone executable.
`npm run dist` will package the application as well, but creating an installer instead.