As I continue to learn about the node and react ecosystems, my intent with this project is for it to be both a playground for exploration as well as a reference implementation of the things that I have settled on as best practices.
Since this is a side-project, some areas may be behind my progression of preferring a certain approach. Some things may also seem to go a bit far for such a small project, but please keep in mind that this is intended to be a reference implementation.
- ES6
- Universal Rendering
- Progressive Enhancement
- Package management of React components to share components with npm
- Intelligent management of client-side dependencies
- Cut the Mustard
- Progressive Enhancement based on browser capabilities
- Lazy Loading
- Performance
- Delegated Authentication (likely Auth0)
- Thin Hal Hypermedia client
- OAuth/Oz client
- API driven form construction
- API driven form validation
- React
- React-router v3
- Redux
- Redial
- Immutable.js
- Webpack 2
- Tree-shaking
- Vendor Chunk
- Code Splitting
- Commons Chunk
- Cache busting when assets change
- React Hot Loader 3
- Hapi
- Traverson with the HAL adapter
- Pact Consumer
- publish pacts to my broker
- ensure pacts have passed provider verification before deploying
- enable promotion of pacts from wip to production
$ nvm install
$ npm install
Against the production API
$ npm run dev
Against a local API
$ npm run dev-local
$ npm test
After npm run build
has been run, load resources/js/stats.html
in a browser