/ portfolio

Polymer Shop

Progressive Web App using Polymer, Firebase and sw-precache

Home---SHOP-Full

Your-cart---SHOP

shop-1

Prerequisites

Install polymer-cli:
(Need at least npm v0.3.0)

npm install -g polymer-cli

Setup

# Using CLI
mkdir shop
cd shop
polymer init shop

# Or cloning direct from GitHub
git clone https://github.com/Polymer/shop.git
cd shop
bower install

Start the development server

polymer serve

Run web-component-tester tests

polymer test

Build

polymer build

Test the build

This command serves the minified version of the app in an unbundled state, as it would be served by a push-compatible server:

polymer serve build/unbundled

This command serves the minified version of the app generated using fragment bundling:

polymer serve build/bundled

Demo

https://polymer-shop.npmstack.com

Source

https://github.com/sethbergman/polymer-shop

Seth Bergman

Seth Bergman

I'm a Software Engineer focused on helping companies scale. I love learning about software architecture, containers, open source programming and automation.

Read More