Coder Social home page Coder Social logo

ashishdce / angular2-hn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from housseindjirdeh/angular2-hn

0.0 2.0 0.0 1.86 MB

:boom: Progressive Hacker News client built with Angular

Home Page: https://angular2-hn.firebaseapp.com

License: MIT License

TypeScript 42.85% JavaScript 28.83% HTML 28.32%

angular2-hn's Introduction

Angular 2 HN

A progressive Hacker News client built with Angular

View App

PRs Welcome Build Status


โšก Fast: Service Worker App Shell + Dynamic Content model to achieve faster load times with and without a network.

๐Ÿ“ฑ Responsive: Completely responsive UI that can be installed to your mobile home screen to provide a native feel.

๐Ÿš€ Progressive: Lighthouse score of 87/100.

Mobile Preview

Laptop Preview

Offline Support

This app uses Workbox to generate a service worker as part of the build step to load quickly and work offline.

Manifest

With Chromium based browsers for Android (Chrome, Opera, etc...), Angular 2 HN includes a Web App Manifest that allows you to install to your homescreen.

Themes

Built in theme engine!

Current themes:

  • Default
  • Night
  • Black (AMOLED)

More to come!

Areas of improvement

  • Realtime updating using the Firebase SDK (may need to add option to settings so service worker can still rely on REST endpoints)
  • Server side rendering

Feel free to send me feedback on twitter or file an issue! Feature requests are always welcome.

Build process

Note: This project has been ejected (with AOT + production settings) in order to customize Webpack configurations.

  • Clone or download the repo
  • npm install
  • npm start to run the application with webpack-dev-server or npm build to kick off a fresh build and update the output directory (dist/)

Note: Any Service Worker changes will not be reflected when you run the application locally in development. To test service worker changes:

  • npm build
  • npm run precache to generate the service worker file
  • npm run static-serve to load the application along with the service worker asset using live-server

Contributors

A million thanks to some awesome people :)

angular2-hn's People

Contributors

ashwin-sureshkumar avatar bbrks avatar beeman avatar markgoho avatar antogin avatar zachberger avatar hennelh avatar jeffbcross avatar mhadaily avatar mateuszwitkowski avatar angular-cli avatar blackpr avatar

Watchers

James Cloos avatar Ashish Jangid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.