项目作者: jeescu

项目描述 :
Basic React Redux boilerplate.
高级语言: JavaScript
项目地址: git://github.com/jeescu/react-redux-starter.git
创建时间: 2016-06-20T06:37:57Z
项目社区:https://github.com/jeescu/react-redux-starter

开源协议:

下载


React + Redux starter

Build Status
Coverage Status
bitHound Dependencies
bitHound Dev Dependencies

Basic dependencies to get started with your React project using Redux

Tools / Dependencies

Check package.json

Development tools

Helper tools

Test libraries

Getting Started

Create a new project based on react-redux-starter.

Install from source

  1. First, clone this project:

    1. > git clone git@github.com:jeescu/react-redux-starter.git
    2. > cd <my-project-name>
  2. Install dependencies and start coding!

    1. > npm install # Install project dependencies
    2. > npm start # Compile and launch

Development

  1. Start development

    1. > npm start
  2. Run tests

    1. > npm test

Deployment

  1. Bundle the app using webpack

    1. > npm run build
  2. Run your production server

    1. > npm run start:dist

Application Structure

  1. ├── config # Project configuration settings
  2. ├── dist # Application build for production
  3. ├── src # Application source code
  4. ├── actions # Action creators and action types
  5. ├── components # All Reusable Presentational Components
  6. ├── containers # All Container Components
  7. | ├── reducers # Pieces of state for store
  8. └── index.js # Combined reducers as a single state
  9. ├── routes # Application routing
  10. └── index.js # Routes entry point
  11. ├── static # Static assets (publicly viewable from url)
  12. ├── store # Redux state container with environment-specific configurations.
  13. ├── index.js # Create and instrument redux store
  14. ├── styles # Global styles
  15. ├── index.html # Main HTML page container for app
  16. └── index.js # Application entry point bootstrap and rendering
  17. ├── tools # Project tools and helpers
  18. ├── devServer.js # Development entry point
  19. └── prodServer.js # Production entry point
  20. ├── tests # Unit tests
  21. └── webpack.config.* # Webpack config file for environment build

Learning Resources