Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 603 Bytes

README.md

File metadata and controls

30 lines (16 loc) · 603 Bytes

Hackernews API

This project created to serve these endpoints. After run the application you can check server from http://localhost:3000/health

/commonWords

Top 10 most occurring words in the titles of the last 25 stories

/commonWordsLastWeekPost

Top 10 most occurring words in a post of exactly the last week (if today is Monday, a post of Monday last week)

/commonWordsTopUsers

Top 10 most occurring words in titles of the last 600 stories of users with at least 10.000 karma

How to develop

Install Node.js

In terminal

npm install

npm run dev

Test

npm run test