mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
miguel
da55add3bf
|
2 years ago | |
---|---|---|
.. | ||
audit | 2 years ago | |
README.md | 2 years ago |
README.md
Hacker news
Hacker News is a social news website that mainly focuses on computer science and entrepreneurship. The objective of this task is to create a client with all the main features of the HackerNewsAPI.
Instructions
Your app should have the following functionalities:
- Login button. Once you tap it a log in page must be displayed.
- Show a list of all fetched
posts
on the main screen. - Each
post
should have anupvote
option for voting. - Each
post
should display the total number of votes and comments they have. - Display the
username
of thepost
creator. - Display the submission time of the
post
. - Open the link in a WebView when a
post
is tapped.- The user must be able to return to the main page once in the
WebView
.
- The user must be able to return to the main page once in the
On the website, users can Post
, Comment
, or Reply
only when they have an account.
- You have to register using the website. In other words, you must be able to login with your actual login and password from the Hacker News website.
- Login using your app. Observe how the login is done on the website and emulate it.
When users are logged in, they should be able to:
Create
new posts which will have:title
,URL
, and adescription
.
Delete
their own posts.Upvote
or hide/remove their votes.Log out
.
Note: If the user is not logged in but tries to access any of the above-mentioned actions, the user should be sent to the login page of the app.