Repository navigation
Version two for my Enterprise Web Development Assignment includes:
Support for the following endpoints:
- POST /movies/reviews - add a movie review.
- GET /movies/{movieId}/reviews - Get all the reviews for the specified movie.
- GET /movies/{movieId}/reviews?minRating=n - Get the reviews for the specified movie with a rating greater than the minRating.
- GET /movies/{movieId}/reviews/{reviewerName} - Get the review written by the named reviewer for the specified movie.
- PUT /movies/{movieId}/reviews/{reviewerName} - Update the text of a review.
- GET /movies/{movieId}/reviews/{year} - Get the reviews written in a specific year for a specific movie.
- GET /reviews/{reviewerName} - Get all the reviews written by a specific reviewer.
- GET /reviews/{reviewerName}/{movieId}/translation?language=code - Get a translated version of a movie review using the movie ID and reviewer name as the identifier.
Authentication:
The app's infrastructure stack includes a separate API for processing user authentication requests. It allows users to sign up, confirm signup, log in, and log out.
Authorization:
Only authenticated users are allowed to perform POST and PUT requests, whereas GET requests are publicly accessible.
Amazon Translate:
The reviews content text can be translated to a different language with Amazon Translate via GET /reviews/{reviewerName}/{movieId}/translation?language=code .