Whole documentation is available on wiki page. Please follow below link to access it: https://github.com/HackerNews-lsd2017/hacker-news/wiki
William Bech π«π·/π©π° (25%)*
* Order is alphabetical by name. We're all working equally hard so each of us holds credit of 25% for the whole project but we're all giving our 100%!
--- CHARACTERISTIC INFORMATION Goal in Context: Registered User makes an authentication request and expects to log, in order to use full functionality of the system
Scope: System under design
Level: Underwater
Preconditions: User has an account.
Success End Condition: User is authenticated.
Failed End Condition: User has an account and he canβt log in.
Primary Actor: Registered user
Trigger: authentication request comes in
MAIN SUCCESS SCENARIO
Brief description:
Users puts his username and password and expects to get logged in.
CHARACTERISTIC INFORMATION
Goal in Context: User makes an account creation request and expects to that account is created
Scope: System under design
Level: Sea
Preconditions: Guest has to specify username, password and email address.
Success End Condition: Account is created.
Failed End Condition: Account is not created
Primary Actor: Guest
Trigger: Request for new account comes in
MAIN SUCCESS SCENARIO
Brief description:
Guest provides information necessary to create an account and expects that application is going to create his account.
CHARACTERISTIC INFORMATION
Goal in Context: User or guest is able to view content of post.
Scope: System under design
Level: Sea
Preconditions: None
Success End Condition: User views the content of post.
Failed End Condition: User is not able to see the content of post.
Primary Actor: Guest/User
Trigger:
MAIN SUCCESS SCENARIO
Brief description:
User/Guest makes a request to see a post and it is presented to him.
CHARACTERISTIC INFORMATION
Goal in Context: User or guest using certain search criteria expects to find relevant post.
Scope: System under design
Level: Underwater
Preconditions: None
Success End Condition: User finds relevant post.
Failed End Condition: User does not find relevant post.
Primary Actor: Guest/User
Trigger:
User presses search with parameters that match some kind of post.
MAIN SUCCESS SCENARIO
Brief description:
User/Guest makes a request to see a post and it is presented to him.
CHARACTERISTIC INFORMATION
Goal in Context: User wants to respond to post and expects that his comment will be attached to post.
Scope: System under design
Level: Sea
Preconditions: User found the post. User is logged in.
Success End Condition: User commented post that he wanted.
Failed End Condition: User did not succeed to comment post that he wanted.
Primary Actor: User
Trigger: User presses button comment and request is being sent to server to persist the message and append it to relevant post.
MAIN SUCCESS SCENARIO
Brief description:
User/Guest makes a comment that is being persisted and presented to him and other users.
Extension: Report post
User reports post that in his/her belief is violating some rules of the website.
CHARACTERISTIC INFORMATION
Goal in Context: User is changing his information and expects that applications updates is accordingly to changes that he/she provided.
Scope: System under design
Level: Sea
Preconditions: User has an account.
Success End Condition: User information is updated
Failed End Condition: User information is not updated.
Primary Actor: Registered user
Trigger: Update request comes in.
MAIN SUCCESS SCENARIO
Brief description:
User sends updated information about his/her account which is persisted in database.
CHARACTERISTIC INFORMATION
Goal in Context: User provides content of post and expects that it is going to be posted on website.
Scope: System under design
Level: Sea
Preconditions: User is logged in.
Success End Condition: Post is created and persisted.
Failed End Condition: Post is not created or it is not persisted.
Primary Actor: Registered user
Trigger: User is pressing βCreate Postβ button and post request comes to server.
MAIN SUCCESS SCENARIO
Brief description:
User creates post that is being published and persisted.
CHARACTERISTIC INFORMATION
Goal in Context: Logged in user makes a request to logout and expects to lose access to the system.
Scope: System under design
Level: Underwater
Preconditions: User is logged in
Success End Condition: User is logged out
Failed End Condition: User is not logged out
Primary Actor: Registered user
Trigger: Logout button is being pressed
MAIN SUCCESS SCENARIO
Brief description:
User is pressing logout button and his session is being deleted.
CHARACTERISTIC INFORMATION
Goal in Context: User votes up or down post and expects that his reaction is going to be recorded and included in total karma count.
Scope: System under design
Level: Underwater
Preconditions: User has an account. In case of downvote user has to have enough karma
Success End Condition: Vote count has changed. One point up or down.
Failed End Condition:Vote count has not changed or it changed more than 1 point up or down.
Primary Actor: Registered user or registered user with high enough karma in case of downvote.
Trigger: User presses vote or downvote button.
MAIN SUCCESS SCENARIO
Brief description:
Users upvotes/downvotes comment or post and his action is included in karma deduction.
Description of actors and responsabilities: