ENGINEERING 10 upvotes 2016

How I built a Hacker News client with Angular 2

10 pts
Hacker News Signal
2016 · Shared by @MrAwesomeSauce
How I built a Hacker News client with Angular 2 by @MrAwesomeSauce

Retrospective Overview & Key Insights

Distilled reflections, business mechanics, and tactical takeaways:

In this technical retrospective (2016), @MrAwesomeSauce shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.

Core Principles for Independent Builders:
1
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
2
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
3
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:

HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.

Founder's Discussion Replies (@MrAwesomeSauce)

Direct clarifications and follow-up comments shared by the author during the live discussion:

OP @MrAwesomeSauce Original Author

I built a Hacker News client with Angular 2 (https://angular2-hn.firebaseapp.com ↗) and shared it here a short while ago (https://news.ycombinator.com/item?id=12438119 ↗). Got some very useful feedback and thought it would be nice to write a post on how I built it. I go through building the entire app step by step from scratch solving each problem along the way.

As always, I hope you find it useful and would appreciate any feedback.

Community Discussions & Critical Reviews

Key perspectives, counter-arguments, and peer founder insights debated on Hacker News (7 total discussions):

DA @daveroberts Peer Contributor

Fails for me pretty early on:

ng set defaults.styleExt scss

Could not start watchman; falling back to NodeWatcher for file system events. Visit http://ember-cli.com/user-guide/#watchman ↗ for more info. Cannot read property 'serialize' of undefined TypeError: Cannot read property 'serialize' of undefined

I installed watchman and received the same error

Looks like this has been reported elsewhere: https://github.com/angular/angular-cli/issues/1905 ↗

DA @daveroberts Peer Contributor
DA @daveroberts Peer Contributor

Just a minor point, but your first stories.component.html snippet doesn't include {{i}}, so the way it renders in the browser is different than your screenshot

HISTORICAL ERA Cloud & Mobile Era (2014–2019)
COMMUNITY SCORE 10 points
TOTAL DISCUSSIONS 7 comments
TOPICS & TECH STACK: