Single-page app utilizing Webpack, React.js, Redux, ES6 and WikiMedia API.
10 random pages are loaded on the initial load.
User can delete or bookmark a page inside the app.
When all pages are bookmarked or deleted a new set of random pages will be loaded and rendered on top of the list.
- Facebook React.js with Redux as Flux architecture implementation
- react-redux - glue to bind to store state and actions with React
- react-thunk - Redux middleware to allow asynchronicity (working with AJAX requests)
- react-bootstrap - collection of Twitter Bootstrap components converted to React + styles
- Written in ES6 (ES2015) thanks to Babel
- Webpack hot module replacement is helpful during developing. When source files are changed and rebuild new modules replace the old ones in the browser keeping the state of the app and without triggering full page reload
- Data is received from live API using JSONP
- Bookmarks are stored to browser's local storage, which allows restarting the browser without losing data
- HTML and styles based on TODO MVC https://github.com/tastejs/todomvc
- Basic testing setup with Mocha
npm i
npm start
npm run test:unix
npm run test:win
- Technical features
- Router https://github.com/rackt/redux-router
- Support for browser history
- AirBnB linter
- Feature/environment flags
- Logging
- Features
- Display loading icons while fetching data
- Organize bookmarks in folders
- UI
Replace checkbox with a star icon- Support for different resolutions (responsiveness with media queries)
- Fix tests
- Optimizations
- Don't save extra data to local storage
- Remove unused code (start with style classes)
- Benchmark build process
- Consider using CDN for some files
- Minification
- Refactor
- Abstract AJAX requests
- Migrate styles to preprocessor
- Folder structure
- Mac OS X Yosemite v10.10.4, 64-bit, Google Chrome 45, Node.js v4.1.0
- Windows 7, 64-bit, Google Chrome 46, Nove.js v4.2.1