Skip to content

bpceee/hacker-news-clone

Repository files navigation

HackerNewsClone

This project was generated with Angular CLI version 11.0.3. Using Hacker News API.

Features:

  • All Stories Page
  • Top Stories Page
  • Best Stories
  • Display all comments for a given story
    • Display all comments for a given story
    • Include sub-comments
    • Fold / Unfold comment
    • Go to individual comment page
    • Go to to parent comment page

Due to time limit, only added some tests in comment and story-item componnent. No e2e test though 😕.

Setup

Angular CLI version 11.0.3.

Node.js v14.15.0. (Should be fine on Node 10.13 or above, haven't got time to try it yet)

Run npm ci to install dependencies.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published