/hacker-news

Angular2 app to gather info from hacker news API provided by Ycombinator

Primary LanguageJavaScript

HackerNews

Angular2 project to display 10 random stories using YCombinator API - https://github.com/HackerNews/API

Run npm run start for a dev server. Navigate to http://localhost:4200/topstories

Running unit tests

Run npm run test to execute the unit tests via Karma.

Running end-to-end tests

Run npm run e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via npm run start.