- Clone the repo.
- Remove existing (
rm -rf .git
) and initialize new git repo (git init
). - Change name in package.json file.
- Project is already configured for development and production use (with server-sider rendering, for client-only solution go to the client-only branch).
- Code used for server side-rendering is not minified so its possible to debug ssr with Chrome-Node Dev-Tools.
- Production bundle gets minified and split out with vendor dependencies.
yarn
- install dependenciesyarn dev
- start in development modeyarn build
- build project to /dist directory,yarn start
- run server bundle,
yarn debug-ssr
- debug (built) project with chrome-dev-toolsyarn lint
- check for eslint errors
- Redux and redux-devtools-extension
- @Reach/router
- Webpack with react-hot-loader and webpack-bundle-analyzer
- Express with EJS templates for server-side rendering
- styled-components
- Babel with @babel/polyfill, @babel/preset-env and @babel/preset-react
- eslint - airbnb + Prettier