davhojt
9fd8117c3b
|
2 years ago | |
---|---|---|
.. | ||
audit | 2 years ago | |
README.md | 2 years ago |
README.md
clonernews
Objectives
Technology is a rapidly evolving sector. As a programmer, it is not always easy to keep up to date with every new advancement.
Tech news (like Hacker News) is a really great way to keep up to date with the exponential evolution of technology, as well as tech jobs and much more. Some websites do not offer very appealing propositions to consume their media.
So your objective for this raid is to create an UI for the HackerNews API.
You must handle at least:
Post and comments must be ordered by newest post to oldest. You must not load all posts at once, so that you only load posts once the users need to see more posts. This can be done with the help of events.
The point of the project is to keep users updated, so we'll need to inform our users of changes to the data using Live Data. Create a section that presents the newest information. You'll need to notify the user at least every 5 seconds, whenever the live data is updated.
Currently this API does not present a rate limit, but that does not mean that you should abuse or overload the API.
Best ways you can avoid rate limiting:
- optimize your code to eliminate any unnecessary requests
- usage of a throttling/debouncing function to regulate the number of requests,
Optional
You can handle sub-comments for stories, jobs and polls, by implementing nested comments.