From 5debc1f5dc35aaa38d5d29728d5ad0bb6a88b245 Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 22 Jun 2020 15:53:45 +0100 Subject: [PATCH] live data adding notifications --- subjects/clonernews/README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/subjects/clonernews/README.md b/subjects/clonernews/README.md index fc2a559b..4670e37f 100644 --- a/subjects/clonernews/README.md +++ b/subjects/clonernews/README.md @@ -2,21 +2,25 @@ ### Objectives -Technology nowadays continue to evolve. Has a programmer or developer you must be updated with this exponential evolution of technology. +Technology nowadays continue to evolve. As a programmer or developer you must be updated with this exponential evolution of technology. -This is where tech news shines, just like Hacker News where you can see all about new technology, jobs and much more, but some websites do not perform very well or their aren't so user friendly. +This is where tech news shines, just like Hacker News where you can see all about new technology, jobs and much more, but some websites do not perform very well or their are not so appealing. So your objective for this raid is to create an UI for [`HackerNewsAPI`](https://github.com/HackerNews/API). You must handle at lest: -- [stories](https://github.com/HackerNews/API#ask-show-and-job-stories) -- [jobs](https://github.com/HackerNews/API#ask-show-and-job-stories) -- [polls](https://github.com/HackerNews/API#items) -- [comments](https://github.com/HackerNews/API#items) +- Posts, this includes : + - [stories](https://github.com/HackerNews/API#ask-show-and-job-stories) + - [jobs](https://github.com/HackerNews/API#ask-show-and-job-stories) + - [polls](https://github.com/HackerNews/API#items) +- [comments](https://github.com/HackerNews/API#items), each comment must have the proper post parent. -[Live Data](https://github.com/HackerNews/API#live-data) : is one of the features from this Hacker News API, you can handle requests so that the news you provide is updated. -Currently this API does not present [rate limit](https://en.wikipedia.org/wiki/Rate_limiting). But that doesn't mean you should abuse/overload the API!!! +[Live Data](https://github.com/HackerNews/API#live-data) : is one of the features from this Hacker News API, you can handle requests so that the news you provide are updated. + +- You must have a section that present the newest information. You will have to notify the user at least every 5 seconds, whenever the live data is updated. In other words, after every 5 seconds if a change was made in the live data, you have to notify the user. + +Currently this API does not present [rate limit](https://en.wikipedia.org/wiki/Rate_limiting). But that does not mean you should abuse/overload the API!!! Best ways you can avoid rate limiting :