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
- Universal (server) rendering
- Webpack 2
- Fully immutable state
- ESLINT
- react-router 3
- react-hot-loader 3
- Own component for supporting native gettext localization
-
npm install
-
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
-
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
-
npm run dev
ornpm run production