My own skeleton for building web applications using React.
Tech | Description | Version |
---|---|---|
React | Library for building user interfaces with components | 15.4.2 |
React-Router | Ember-inspired routing for React | 3.0.2 |
Redux | Flux-ish global state manager | 3.6.0 |
Webpack | Highly configurable module bundler | 2.2.1 |
Less | Compiled CSS styles with variables, functions, and more | |
Babel | Use ES6 syntax today | 6.22.1 |
React Hot Loader | See your components live update in the browser without losing state | 3.0.0 beta |
Redux Devtools | Time travel for Redux state | 3.3.2 |
Redux Logger | Log Redux state changes in the console | 3.3.2 |
Tech | Description | Version |
---|---|---|
Express | Easy web services on top of Node.js | 4.14.1 |
Tech | Description | Version |
---|---|---|
Lodash | Library of functional programming helpers | 4.17.4 |
Q | Promise library | 1.4.1 |
Moment.js | Time-related utilities | 2.17.1 |
Immutable.js | Immutable data in javascript | 3.8.1 |
yarn install
yarn run build
yarn run start
yarn run dev-build
yarn run start
or to auto restart on file save:
yarn run start-dev
In order to use React Hot Loader, in another terminal window, run:
yarn run hot-dev-server
and then view the app at http://localhost:3000
FYI yarn run dev
runs both yarn run start-dev
and yarn run hot-dev-server
Integration tests:
TODO: add nightwatch
Unit tests:
yarn run test