- Run
yarn
to install dependencies. - Run
yarn start:dev
to start the react client locally at port 8090. It will also load the app in the browser. - Run
yarn start
to start express server and serve graphql api and prod built of react app at port 8091. - Run
yarn build
to build prod build of react
- This project is bootstrapped using Create React App.
- Flux is used for state management and all Flux specific files are located inside
src/flux
. Transitioning to a more robust solution such as Redux is also fairly simple. - All primary templates are located inside
src/views
. - There is only one single layout defined (Default) inside
src/layouts
, however, the current structure provides an easy way of extending the UI kit. - The
src/components
directory hosts all template-specific subcomponents in their own subdirectory. - The layout styles inherited from Shards Dashboard are pulled in from the
src/shards-dashboard
submodule insidesrc/App.js
. - Other extra styles specific to the libraries used are located inside
src/assets
. - The
src/utils
directory contains generic Chart.js utilities.
Please check out the CHANGELOG.