An open API service indexing awesome lists of open source software.

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

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.