No description, website, or topics provided.
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
tayiorbeii Merge pull request #1 from wyze/dispatch-fix
Fix dispatch from detail on refresh
Latest commit edfbe4f Nov 16, 2015
Permalink
Failed to load latest commit information.
bin initial commit Nov 13, 2015
build initial commit Nov 13, 2015
config initial commit Nov 13, 2015
src Fix dispatch from detail on refresh Nov 14, 2015
.babelrc initial commit Nov 13, 2015
.editorconfig initial commit Nov 13, 2015
.eslintignore initial commit Nov 13, 2015
.eslintrc initial commit Nov 13, 2015
.gitignore initial commit Nov 13, 2015
README.md Update README Nov 14, 2015
db.json initial commit Nov 13, 2015
package.json initial commit Nov 13, 2015
webpack.config.js initial commit Nov 13, 2015

README.md

Loosely based Built upon @davezuko's kit in combination with the official Redux docs.

Mock API

For development purposes, a mock REST API server can be run using json-server.

Install it with npm install -g json-server

In a new terminal, run it with json-server -p 4000 db.json where db.json is the file with mock data. You can view the json-server page at http://localhost:4000, but it isn't really necessary.

Getting Started

npm start

Runs the webpack build system with webpack-dev-server (http://localhost:3000)

npm run dev:nw

Same as npm run start but opens the debug tools in a new window.

Note: You need to enable popups in Chrome or you will get an error.

npm run compile

Runs the webpack build system with the current NODE_ENV and compiles the application to the ./dist directory. Production builds will fail on eslint errors (but not on warnings).

Structure

.
├── bin                      # Build/Start scripts
├── build                    # All build-related configuration
│   ├── webpack              # Environment-specific configuration files for Webpack
├── config                   # Project configuration settings
├── src                      # Application source code
   ├── components           # Generic React Components (generally Dumb components)
   ├── containers           # Components that provide context (e.g. Redux Providers)
   ├── layouts              # Components that dictate major page structure
   ├── reducers             # Redux reducers
   ├── routes               # Application route definitions
   ├── stores               # Redux store configuration
   ├── utils                # Generic utilities
   ├── views                # Components that live at a route
   └── index.js             # Application bootstrap and rendering