This is a port of the Hacker News Client writter in AngularJS. https://coderwall.com/p/0pfmvq. Source code of the angular port can be found at https://github.com/codealpha/hn-angular.
- Not meant to be compared with the angular js port
- show best practices
- shows how to use the streaming build system - gulp.js
- use browserify - browser-side require() the node.js way
- use babel to help tranform jsx syntax to js
- use gulp-concat
- use-gulp-imagemin
- shows how to split different components in different file
- also shows how to define multiple components in the same file
npm install -g gulp
npm install
gulp dev
To build only use gulp build
.
npm install -g jest-cli
npm test