Skip to content

davideast/hnpwa-firebase

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

HNPWA Firebase

A Dynamic, CDN Cached, HNPWA implementation on Firebase Dynamic Hosting.

Demo

Highlights

  • Emerging Markets - 1.3
  • 3G - 0.7
  • CDN Cached - Every file on Firebase Hosting is served through a CDN
  • Dynamic - Cloud Functions + Firebase Hosting = Dynamic CDN population

Contribute!?

git clone https://github.com/davideast/hnpwa-firebase.git
npm i
npm run build

# Basic serving
npm run serve

# Firebase Hosting Emulation
node_modules/.bin/firebase login 
# Use your own project
node_modules/.bin/firebase use -add <your-test-proj>
npm run serve:firebase

# Offline serving A.K.A - Deving on an Airplane/bus/elevator
npm run save:offline # save current HNAPI data set offline
# go offline
npm run serve:offline:api
# open new terminal or tmux or something
npm run serve:offline

About

A super fast HNPWA built on Firebase Dynamic Hosting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published