This project requires Node 4.X and npm 3.X You should install node using nvm.
npm installto grab all the goodiesnpm run devto start a hot-reloading development server- No step 3
Other useful commands:
npm testto run the testsnpm run tddto continuously run tests as you codenpm run lintto check your changes against the linting guidelines
The master is considered "hot" and is continuously deployed to a staging
server. Every tagged version is automatically deployed to production.
Day-to-day development is done on the develop branch. The develop branch is continuously deployed to a development server for evaluation.
The development promotion workflow is as such:
- Work on a feature branch
- Pull request the
developbranch developbranch is merged into master when ready
This project is semantically versioned. Changes that break compatibility with the remote API are considered breaking changes.
Source lives in src/. Compiled output goes in dist/.
containers/: Stateful react components. These are usually top-level route handlers.components/: Stateless/Dumb react components. These guys determininstically render based on props.