universal-webpack-boilerplate

This is a boilerplate of a project built with react and redux, based on universal-webpack.

This project is a massive rework of this boilerplate with some ideas taken from this project

Feautures

  • Universal (server) rendering
  • Webpack 2
  • Fully immutable state
  • ESLINT
  • react-router 3
  • react-hot-loader 3
  • Own component for supporting native gettext localization

Installation

  1. npm install

  2. Create a file called config.js inside src/config/ with such content

    export default {};

    In this file you can override any variable defined inside src/config/default.js following the same name path

  3. Create an empty file called .env inside the root of the project. In this file you can define any PATH variables which you don't want to specify every time you run the server

    For more - see this

  4. npm run dev or npm run production