Basic React Redux boilerplate.
Basic dependencies to get started with your React project using Redux
Check package.json
Development tools
Helper tools
Test libraries
Create a new project based on react-redux-starter
.
First, clone this project:
> git clone git@github.com:jeescu/react-redux-starter.git
> cd <my-project-name>
Install dependencies and start coding!
> npm install # Install project dependencies
> npm start # Compile and launch
Start development
> npm start
Run tests
> npm test
Bundle the app using webpack
> npm run build
Run your production server
> npm run start:dist
├── config # Project configuration settings
├── dist # Application build for production
├── src # Application source code
│ ├── actions # Action creators and action types
│ ├── components # All Reusable Presentational Components
│ ├── containers # All Container Components
| ├── reducers # Pieces of state for store
│ │ └── index.js # Combined reducers as a single state
│ ├── routes # Application routing
│ │ └── index.js # Routes entry point
│ ├── static # Static assets (publicly viewable from url)
│ ├── store # Redux state container with environment-specific configurations.
│ │ ├── index.js # Create and instrument redux store
│ ├── styles # Global styles
│ ├── index.html # Main HTML page container for app
│ └── index.js # Application entry point bootstrap and rendering
├── tools # Project tools and helpers
│ ├── devServer.js # Development entry point
│ └── prodServer.js # Production entry point
├── tests # Unit tests
└── webpack.config.* # Webpack config file for environment build