Electron React Starter is a nodejs starter desktop app that integrates electron, react, react-redux, material-ui, and firebase authentication. The app is divided into server and client components and is specialized for desktop applications that host the client application remotely.
- Electron
- React
- React-Redux
- Material-UI
- Firebase (Authentication)
| Directory | Description |
|---|---|
| server | Contains all server-related files |
| server/public | Contains files that are served via HTTP |
| server/src | Contains the remote application that will be transpiled and bundled |
| client | Contains all desktop client-related files |
The server uses webpack and babel to transpile and bundle the remote desktop app. You can build and start the server using the below commands.
[dev@box ~/electron-react-starter]$ cd server
[dev@box ~/electron-react-starter/server]$ npm run build
[dev@box ~/electron-react-starter/server]$ npm startThe client currently only needs to be started.
[dev@box ~/electron-react-starter]$ cd client
[dev@box ~/electron-react-starter/client]$ npm startISC