├── .gitignore ├── demo.gif ├── polymer-redux.png ├── .travis.yml ├── .editorconfig ├── package.json ├── CONTRIBUTING.md ├── bower.json ├── index.html ├── comments-list.html ├── LICENSE.md ├── comments-item.html ├── comments-insert.html ├── README.md └── store.html /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | bower_components/ 3 | node_modules/ -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afonsopacifer/polymer-redux/HEAD/demo.gif -------------------------------------------------------------------------------- /polymer-redux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afonsopacifer/polymer-redux/HEAD/polymer-redux.png -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: stable 3 | sudo: required 4 | before_script: 5 | - npm install -g bower polylint 6 | - npm install 7 | - bower install 8 | - polylint -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # http://editorconfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | indent_style = space 9 | indent_size = 2 10 | end_of_line = lf 11 | charset = utf-8 12 | trim_trailing_whitespace = true 13 | insert_final_newline = true -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "polymer-redux", 3 | "version": "0.1.0", 4 | "description": "Implementing Redux with Polymer", 5 | "main": "index.html", 6 | "keywords": [ 7 | "redux", 8 | "polymer", 9 | "webcomponents" 10 | ], 11 | "author": "afonsopacifer", 12 | "license": "MIT", 13 | "dependencies": { 14 | "redux": "^3.6.0" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | 1. Fork it! 4 | 2. Create your feature branch: `git checkout -b my-new-feature` 5 | 3. Commit your changes: `git commit -m 'Add some feature'` 6 | 4. Push to the branch: `git push origin my-new-feature` 7 | 5. Submit a pull request 8 | 9 | **After your pull request is merged** 10 | 11 | After your pull request is merged, you can safely delete your branch. 12 | 13 | ### [<-- Back](https://github.com/afonsopacifer/polymer-redux/) 14 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "polymer-redux", 3 | "authors": [ 4 | "afonsopacifer " 5 | ], 6 | "description": "Implementing Redux with Polymer", 7 | "main": "index.html", 8 | "keywords": [ 9 | "redux", 10 | "polymer", 11 | "webcomponents" 12 | ], 13 | "license": "MIT", 14 | "homepage": "", 15 | "ignore": [ 16 | "**/.*", 17 | "node_modules", 18 | "bower_components", 19 | "test", 20 | "tests" 21 | ], 22 | "dependencies": { 23 | "polymer": "polymer/polymer#^1.8.1", 24 | "github-corner": "^1.0.0", 25 | "polymer-redux": "tur-nr/polymer-redux#^0.4.2" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Polymer Redux 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |

Polymer + Redux = 💜

20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /comments-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 17 | 18 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Afonso Pacifer, [afonsopacifer.github.io](http://afonsopacifer.github.io/) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /comments-item.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12 | 13 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /comments-insert.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Polymer / Redux demo 🦄 2 | 3 | > Implementing Redux with Polymer. 4 | 5 | [![Travis CI Status](https://travis-ci.org/afonsopacifer/polymer-redux.svg?branch=master)](https://travis-ci.org/afonsopacifer/polymer-redux) 6 | 7 | ![polymer-redux](polymer-redux.png) 8 | 9 | ## Run the project locally 10 | 11 | ![demo](demo.gif) 12 | 13 | **1 -** Prepare the environment: 14 | 15 | ```sh 16 | $ npm install -g polymer-cli 17 | ``` 18 | 19 | **2 -** Clone the project and install the dependencies: 20 | 21 | ```sh 22 | $ git clone https://github.com/afonsopacifer/polymer-redux.git 23 | $ cd polymer-redux 24 | $ npm install 25 | $ bower install 26 | ``` 27 | **3 -** Run the server: 28 | 29 | ```sh 30 | $ polymer serve 31 | ``` 32 | 33 | Go to: [localhost:8080](http://localhost:8080/) 34 | 35 | ## Tests 36 | 37 | #### Linting 38 | 39 | Linting with polylint: 40 | 41 | ```sh 42 | $ [sudo] npm install -g polylint 43 | 44 | $ polylint 45 | ``` 46 | 47 | ## Versioning 48 | 49 | To keep better organization of releases we follow the [Semantic Versioning 2.0.0](http://semver.org/) guidelines. 50 | 51 | ## Contributing 52 | Find on our [issues](https://github.com/afonsopacifer/polymer-redux/issues/) the next steps of the project ;) 53 |
54 | Want to contribute? [Follow these recommendations](https://github.com/afonsopacifer/polymer-redux/blob/master/CONTRIBUTING.md). 55 | 56 | ## History 57 | See [Releases](https://github.com/afonsopacifer/polymer-redux/releases) for detailed changelog. 58 | 59 | ## License 60 | [MIT License](https://github.com/afonsopacifer/polymer-redux/blob/master/LICENSE.md) © [Afonso Pacifer](http://afonsopacifer.github.io/) 61 | -------------------------------------------------------------------------------- /store.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | --------------------------------------------------------------------------------