Simple demo of server-side rendered application which is using create-react-app and supports SEO-friendly URLs.
- react-router v4 + code-splitting (inspired by react-async-component and react-universal-component)
- SEO-friendly URLs
- redux
- redux-saga
- redux-devtools (dock and log monitors)
- react-intl
- react-helmet
git clone https://github.com/sergei-zelinsky/cra-ssr-boilerplate.git
cd cra-ssr-boilerplate
npm i
Then start create-react-app dev-server
npm start
And start SSR server
npm run watch-ssr
Open http://localhost:4000
in your browser.
- start, build, test, eject - create-react-app's default scripts
- watch-ssr - start SSR server in
development
mode - build-ssr - build SSR server
Live demo is accessible here.