Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.
/ react-starter Public archive

React 16 | Webpack 4 | Babel 7 | Docker + Compose | Eslint

License

Notifications You must be signed in to change notification settings

sylver/react-starter

Repository files navigation

React 16 + Webpack 4 Full SSR Starter

WIP

What's working :

  • Docker
  • Webpack4 build
  • HMR
  • SSR (full render with HMR and build, including css)

What's left to do :

  • SSR for images with import
  • TypeScript
  • Tests with Jest+Enzyme

How to use it

  • Clone this repo
  • Create a .env file
    make .env
  • Install dependencies
    yarn install

dev

  • run a dev server with hot reloading
    yarn dev

prod

  • build the dist folder
    yarn build
  • run the production server
    yarn start

Docker

A docker config is available mainly for dev purposes right now.
I will improve it later.