Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 615 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 615 Bytes

React with SSR

Feature: A Server Side Rendered Material UI Exercise App

Environment Setting

Through npm package: dotenv & config file: /.env

File Structure

webpack configuration for client & server bundle: /build/*

babel configuration: /.babelrc

client entry: /src/index.js

server entry: /src/server-entry.js

template: /src/template.html

common root Component: /src/Component/App

store: src/store.js

Build & Run

  • Build:
npm run build
  • Run with Dev-Server
npm run client:start
  • Run with SSR:
npm run server:start