The ultimate React boilerplate! 🔥
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.storybook
bin
docs
etc
flow-typed/npm
src
stories
types
.babelrc
.editorconfig
.eslintignore
.eslintrc
.flowconfig
.gitignore
.gitlab-ci.yml
.npmignore
.prettierrc
CONTRIBUTING.md
Dockerfile
LICENSE.md
README.md
gulpfile.js
jest.config.js
nodemon.json
package.json
yarn.lock

README.md

Reactizer

The best React boilerplate!

CLI

Comes with an updater tool! Simply overwrites all config files, it's up to you to revert any custom changes you want to keep.

  • yarn add -D reactizer
  • yarn reactizer

Boilerplate

Docs:

Use yarn as a package manager.

Usage

Just browse the files! You'll get a feel for what's going on quickly.

Server

Adjust the following files to your needs:

  • src/server/config.js - static config of assets, routes...
  • src/server/data.js - load any JSONs with i18n, theming...

To alter the generated markup, see src/server/markup. It contains an entry function for both static and dynamic rendering.

Any static files go into the src/static folder.

Client

Main entry points:

  • src/client/app.jsx - initial client render
  • src/client/scenes/Root.jsx - first common component for client/server

Features

  • Static and dynamic SSR
  • Internationalization
  • Theming
  • Tests via Jest and Enzyme
  • Storybook
  • Flow
  • ESLint

Scripts

  • yarn start - Dev server at :8080

Static analysis:

  • yarn test
  • yarn lint
  • yarn flow
  • yarn madge