├── .bowerrc ├── .gitignore ├── LICENSE ├── README.md ├── app ├── html │ ├── app-reducer.html │ ├── app-storage.html │ ├── app-store.html │ ├── app-ticker.html │ ├── reducers │ │ ├── graph-reducer.html │ │ ├── quote-reducer.html │ │ └── state-reducer.html │ ├── stock-app.html │ ├── stock-graph-filter.html │ ├── stock-view.html │ ├── tickers │ │ ├── polymer-ticker.html │ │ └── stock-ticker.html │ ├── utils │ │ ├── quote-transform.html │ │ └── symbol-url.html │ └── view │ │ ├── app-header.html │ │ ├── stock-details.html │ │ ├── stock-graph-filter.html │ │ ├── stock-graph.html │ │ └── stock-search.html └── scss │ ├── app-header.scss │ ├── stock-app.scss │ ├── stock-details.scss │ ├── stock-graph-filter.scss │ ├── stock-search.scss │ └── stock-view.scss ├── assets └── img │ ├── background-blur.jpg │ └── background.jpg ├── bower.json ├── doc ├── index.html ├── main.css └── polymer-logo.svg ├── favicon.png ├── gulpfile.js ├── index.html └── package.json /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "bower" 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .tmp 3 | bower 4 | dist 5 | node_modules 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Jan Miksovsky 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Redux with Polymer 2 | I've written a Stock Ticker appliciation as an experiment to see how well 3 | Polymer and Redux work together. 4 | 5 | I've written a post about this experiment [here](http://scaljeri.github.io/polymer-redux) 6 | 7 | The Stock Ticker application DEMO can be found [here](http://scaljeri.github.io/polymer-redux/demo/?q=polymer) 8 | 9 | ## Setup 10 | 11 | $> npm install 12 | $> bower install 13 | $> gulp 14 | $> python -m SimpleHTTPServer # or an other webserver 15 | 16 | 17 | [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/scaljeri/polymer-redux/trend.png)](https://bitdeli.com/free "Bitdeli Badge") 18 | 19 | -------------------------------------------------------------------------------- /app/html/app-reducer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 | 32 | 33 | -------------------------------------------------------------------------------- /app/html/app-storage.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 43 | 159 | 160 | -------------------------------------------------------------------------------- /app/html/app-store.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 46 | 47 | -------------------------------------------------------------------------------- /app/html/app-ticker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | 48 | 49 | -------------------------------------------------------------------------------- /app/html/reducers/graph-reducer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 63 | 64 | -------------------------------------------------------------------------------- /app/html/reducers/quote-reducer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 26 | 27 | -------------------------------------------------------------------------------- /app/html/reducers/state-reducer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 47 | 48 | -------------------------------------------------------------------------------- /app/html/stock-app.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 19 | 20 | 43 | 87 | 88 | -------------------------------------------------------------------------------- /app/html/stock-graph-filter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 24 | 50 | 51 | -------------------------------------------------------------------------------- /app/html/stock-view.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 23 | 47 | 48 | -------------------------------------------------------------------------------- /app/html/tickers/polymer-ticker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 105 | 106 | -------------------------------------------------------------------------------- /app/html/tickers/stock-ticker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 64 | 65 | -------------------------------------------------------------------------------- /app/html/utils/quote-transform.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 42 | 43 | -------------------------------------------------------------------------------- /app/html/utils/symbol-url.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 50 | 51 | -------------------------------------------------------------------------------- /app/html/view/app-header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 |