/react-app

react + ssr simple example

Primary LanguageJavaScript

React server side render with react-router + redux

This is a basic set-up for a SSR using react-router + redux.

Main Setup

# install dependencies
npm install

A React.js project

# serve at localhost:3000, front-end development
npm start

# build for production with minification
npm run build

# start local server on localhost:3002 (after nmp run build only)
npm run serv