Name: hn-polymer-2
Owner: polymer
Description: Polymer Hacker News clone
Created: 2017-04-28 17:41:08.0
Updated: 2018-05-18 16:14:41.0
Pushed: 2018-05-24 12:56:48.0
Homepage: null
Size: 889
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Very basic Hacker News Progressive Web App client made with Polymer 2.
hn-polymer-2 was created by using the Polymer CLI, a collection of tools to make building Web Components and Polymer apps easier.
Using Polymer Starter Kit template provided by the CLI made following the PRPL pattern easy from the start.
The PRPL pattern, in a nutshell:
Firebase provides easy http2-enabled static hosting, a real-time database, server functions, and edge-caching all over the globe.
Install polymer-cli globally
install -g polymer-cli
Install the dependencies
install
Serve the development version
mer serve
(Optional) Enable firebase function based HN API proxy
sw-precache-config.js
src/hn-app.html
Build
mer build
Test deployment
mer serve build/es5-bundled
Deploy after setting up a firebase project
base deploy
BSD-3-Clause