The following use case diagram shows the requirements for the Moviee API:
The actor is the User of Moviee. It has the following use cases:
- Login: This use case is required to authenticate users so that each user can be uniquely identified, and to allow only authenticated users to perform actions.
- List Movies: This use case is where a user listed all the movies available inside Moviee. It requires the user to be authenticated.
- Get Movie: This use case is where a user sees the details of a movie that is available inside Moviee. It requires the user to be authenticated.
- Rate Movie: This use case is where a user rates a movie that is available inside Moviee. It requires the user to be authenticated.