Trial Task

This task consists of writing a Hacker News Angular 10 web app from scratch. It may be used as take-away or pair-programming task. You are encouraged to add your own ideas to improve the function and/or style of the application.

App Description

Pull news from the Hacker News public API and display the following on a timeline (based on the given Unix timestamp):

  • Top stories
    • list with items
    • ordered in chronological order - most recent at the top
  • Top stories counter (last 5 days)

Story item content:

  • title
  • url - redirect

Note: This API does not require authentication.

Evaluation Criteria

Required

The app functions as expected from the description. It is composed of multiple components, services and css classes.

The focus is on:

  • Working features
    • News list displays correct content
    • News list displays items in chronological order
    • News counter displays correct count of news
  • UI and data updates via Reactive programming (RxJS)
  • API binding
  • Parent-child component organization

Additional

Responsive Design Layout: Clear and Interactive some Unit Tests

Bonus

Clean code