Skip to content

Use Cases

Rodrigo Castrejón edited this page Oct 12, 2021 · 5 revisions
Use Case Register user account
Precondition The user must not have an account.
Sequence Step Action
1 The user accesses the register form using the register button.
2 The user submits the form with the required information.
3 The system validates the received data, it ensures that the email does not exits in the database.
4 The system creates the user account.
Postconditions The user account is now created and stored in the database. Also, the user is now logged in to the system and can now access gated actions, like writing a review or adding a new movie.
Use Case Login user
Precondition The user must have a valid account.
Sequence Step Action
1 The user accesses the the login form using the login button
2 The user inputs their account's credentials and submits the form.
3 The system validates the received credentials.
4 The system authenticates the user.
Postconditions The user is now logged in to the system and can now access gated actions, like writing a review or adding a new movie.
Use Case Browse movie catalogue
Precondition Any user can perform this actions, no preconditions required.
Sequence Step Action
1 The user enters the movie catalogue section of the website.
2 The system returns the list of stored movies.
3 The user’s web browser receives the data and displays the movies in a list.
Postconditions The user is able to browse through the catalogue of movies and access each movie's respective reviews.
Use Case Browse reviews from a movie
Precondition Any user can perform this actions, no preconditions required.
Sequence Step Action
1 The user selects a movie from the movie catalogue.
2 The system returns the list of reviews from that movie.
3 The user’s web browser receives the data and displays the reviews in a list.
Postconditions The user can navigate through the reviews from that particular movie.
Use Case Rate and review movie
Precondition The user must be logged in.
Sequence Step Action
1 The user selects a movie from the movie catalogue and clicks the review button.
2 The user is presented with a form where they must rate the movie. If they want, they can write a review for it.
3 The user submits the form.
4 The system receives the data and add the rating and review to its respective databases.
Postconditions The ratings and reviews are attributed to the user that created them. Also, they are publicly available on the movie's page.
Clone this wiki locally