This is a refactoring and up-to-date version of the portfolio boilerplate made by caljrimmer/portfolio-redux-app. It's also inspired by choonkending/react-webpack-node and erikras/react-redux-universal-hot-example.
Features include:
- Universal Rendering
- Express
- React
- Redux
- React Hot Loading
- Redux Devtools (Chrome Extension Only)
Add support for production mode.
npm install
Go to your config folder:
module.exports = Object.assign({
host: 'localhost', <--- localhost || http://example.com
port: 3000, <--- default port
client: 'http://localhost', <--- port for dev client bundle
clientPort: 1337, <--- the port for hot reloading
})
To start development mode:
npm start
To start production mode:
npm run production