User Stories - sekretov/twister GitHub Wiki
Roles
- Administrator
- User
Stories
As a user of the simplified Twitter clone I would like to be able to create a new Twit.
For that, after visiting the main page, as a new user, I should first register. For that I would like to press on the Sign Up link in the upper right corner. On the registration form I should be able to write down my login name and the password twice. After clicking on the Register button at the end of the form, I will be redirected to the main page, if everything is correct. If the password are not the same, the same registration form is displayed with an error message. The same happens if the login name is not unique. After a successful registration, the main page also displays a input form with a field to to type the twit itself and the submit button. After typing the twit and clicking the submit button, the page is refreshed and the new twit is displayed before the input form.
As a registered user, after visiting the main page, I first should login into the system. For that I would like to press on the Sign In button link in the upper right corner. On the login form I should be able to write down my login name and the password. After clicking on the Login button at the end of the form, I will be redirected to the main page, if everything is correct. If the password is not correct, the same login form is displayed with an error message. If the login is not correct, the same login form is displayed with the same error message for security reasons. After a successful login, the main page also displays a input form with a field to to type the twit itself and the submit button. After typing the twit and clicking the submit button, the page is refreshed and the new twit is displayed before the input form.
As a registered user, after logging into the system, I may want to delete my previous twits. For that, after a successful login operation for all my own twit on the main page we have a small delete button. After clicking on that button, the associated twit is removed.
As an administrator, I may delete every twit on the system. After a successful login operation for every twit on the main page we have a small delete button. After clicking on that button, the associated twit is removed.