/hn-clone

HN Clone

Primary LanguageJavaScript

Hacker News Clone

Here is a pretty crumby skeleton of a Hacker News Clone react application. Let's make it better. Feel free to refactor as you go or write any additional tests.

Make Tests Pass

  1. Render a card for each Hack News article returned from the API. Let's show at least the article's title and author.
  2. Search should be working! Enter a search term, and then hit the button to get the updated results from the API.

Show Content

Once we have a list of articles, let's add content to them.

  1. 'More' button should expand to show the text content of the article.
  2. Comments should be shown for each articles with sub-comments for each.

Dive In

How can we make the app more interesting? What sparks your interest?

  1. Error handling
  2. Refactor the code to make it cleaner
  3. Snazzy CSS Styling
  4. Additional API Functionality Hacker News API Docs
  5. Pagination

Getting Started

  1. Install dependencies npm install
  2. Start the App npm start
  3. Run the tests npm test