Front-end for Sia using electron, React, and Redux.
You must have npm
and node
.
npm install
npm run start
This application contains the following fundamental components:
Contains the main entrypoint for the electron application, defining the behavior of the Electron main
process.
Contains the main entrypoint for the sia-react application. All of this code is webpacked and run inside the Electron renderer
process.
The renderer
process is where the application state is managed, using redux.
sia-react implements a standard Redux application structure.
- src/renderer/actions: Redux actions used to acquire new data from
siad
. - src/renderer/reducers: Redux reducers used to map data returned by actions to state
- src/renderer/constants: Constants used to define action types
- src/renderer/containers: react-redux containers used to connect state changes to components
- src/renderer/components: Stateless react components used to render state
Tests for each action
, reducer
, and component
should be found in test/.
This project uses babel
and webpack
, utilizing the latest features of ES2015 along with JSX. sass
is used for preprocessing styles.