Demo app build with ReactJS to perform live Flickr image search
https://cryptic-hollows-21191.herokuapp.com
https://flickr-reactjs-demo.appspot.com
- Deployed to Paas services(Heroku & GAE) for easy demo
- Nearly 100% (99.15%) unit test coverage
- Detect when user input finishes before firing up API calls to Flickr
- Auto refresh/inject on code change to all connected devices in local development mode (powered by Gulp with browserSync)
- Using Masonry for rendering search result layout
- Using Codeship for Continuous Integration
npm install -g gulp bower
npm install
If you have gulp-cli
installed in global packages you can use equivalent:
gulp
orgulp build
gulp serve
gulp serve:dist
gulp test
gulp test:auto
npm run build
to build an optimized version of your application in /distnpm run serve
to launch a browser sync server on your source filesnpm run serve:dist
to launch a server on your optimized applicationnpm run test
to launch your unit tests with Karmanpm run test:auto
to launch your unit tests with Karma in watch mode
If you don't have gulp-cli
installed in global, you should have this error:
/usr/local/lib/node_modules/gulp/bin/gulp.js:121 gulpInst.start.apply(gulpInst, toRun); TypeError: Cannot read property 'apply' of undefined
- Implement end-to-end test with nightwatch.js
- Implement component test with Enzyme
- Sorting search results based on user-selected criterias
- Pagination (infinite scroll)
- Convert it to PWA (Progressive Web App)
- Add app manifest file for easy discovery, "add to home screen" feature, controlling viewport and installability
- Move API invokations and data manipulations to service worker for better performance
- Cache application shell using sw-precache