Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 902 Bytes

README.md

File metadata and controls

64 lines (42 loc) · 902 Bytes

isomorphic-react-boilerplate

Boilerplate for quick start using

  • React
  • React Router with Dynamic route import.
  • React Helmet
  • React Google Analytics
  • Redux
  • Styled components
  • Code Splitting
  • Server Side Rendering
  • Long Term Asset Caching
  • Jest
  • Enzyme
  • Webpack
  • Hot Module Replacement
  • Browser Sync
  • Webpack Dashboard
  • Friendly Errors
  • ESLint
  • Prettier
  • Storybook

Under consideration

  • Typescript
  • TSLint

Requirements

  • Node (v8 or v10)

Installation

Install dependencies

npm i

Prepare HTTPS certificates

cd certificates

cp server.example.crt server.crt && cp server.example.csr server.csr && cp server.example.key server.key

Build production bundle

npm run build

Run production server

npm run server

Run Unit Tests

npm run test

Run Storybook Documentation

npm run storybook

Run Development environment

npm start