Demo of WebGL2.
This project goes with:
- Server side rendering and code spliting with react-universal-component and webpack-flush-chunks.
- CI/CD with
cloudbuild.yaml
, which currently enables static file web hosting. - Code generateor with plop, which enables auto adding jsDoc comments.
- Document generator with jsdoc-to-markdown.
- push to
master/develop
branch will auto trigger CI for google cloud platform.
$ yarn install
$ cp default.config.json config.json
$ vim config.json # change SERVER_SIDE_RENDER and other values as you like.
$ PORT=xxx yarn start
- server will start on on http://localhost:xxx. (default port is 3000)
$ yarn install
$ cp default.config.json config.json
$ vim config.json # change NODE_ENV to 'develop', SERVER_SIDE_RENDER and other values as you like.
$ PORT=xxx yarn devstart
- server will start on on http://localhost:xxx. (default port is 3000)
- Use
yarn plop
to add reducer/reducerAction/action/selector/component. - Discuss with @frontend before changing/adding anything without
yarn plop
.
$ yarn install
$ yarn docs