angular-hacker-news

A Hacker News PWA built with Angular

  • 所有者: sebholstein/angular-hacker-news
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Angular Hacker News PWA

A Hacker News clone / Progressive Web App (PWA) developed with Angular 4 for the HNPWA project.

SEE IT LIVE HERE!

Blog post with more details

Features

  • Framework/UI libraries: Angular 4, Angular Router, Angular HTTP
  • Module bundling: Webpack 3 with Scope Hoisting
  • Service Worker: sw-precache
  • Performance patterns: HTTP/2, Server Push, Brotli
  • Server-side rendering: Yes with @angular/platform-server
  • API: Hacker News Firebase API & Node-hnapi (unoffical)
  • Hosting: Digitalocean / self-hosted
  • Other details: Lazy loading of routes
  • Author: Sebastian Müller

Architecture

Architecture

The application has 3 services that run in Docker containers on a CoreOS Container Linux in production.

My blog post has more details about the services and the architecture.

Current Lighthouse stats

Best test result so far:
https://www.webpagetest.org/lighthouse.php?test=170711_54_532be7068a1836a1647889ad4ac5c1f2&run=3

Development

  1. Install Yarn, Java SDK, Go 1.8, Caddy, and NodeJS 8
  2. run yarn --pure-lockfile
  3. run yarn run build or npm run build
  4. run caddy in the root directory
  5. run node dist/src/server.js
  6. run go run api.go
  7. open http://localhost:8082

TODOS:

  • CI configuration

主要指標

概覽
名稱與所有者sebholstein/angular-hacker-news
主編程語言Go
編程語言JavaScript (語言數: 6)
平台
許可證
所有者活动
創建於2017-07-08 21:34:15
推送於2017-07-18 18:19:28
最后一次提交2017-07-18 20:19:22
發布數0
用户参与
星數53
關注者數3
派生數9
提交數31
已啟用問題?
問題數3
打開的問題數2
拉請求數0
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?