MovieDB (Spring Boot): Custom Lists - Add & Remove Movies

Company: Amazon_20thjune

Difficulty: medium

Problem Statement

MovieDB (Spring Boot): Custom Lists - Add & Remove Movies Problem MovieDB is an app that lets users explore movies, submit ratings and share reviews. Its custom lists feature lets a user build personal collections of movies. Users can create lists, but they cannot add movies to them: the CustomListController endpoints that add and remove movies answer every call with a generic 500 {"message":"Server error"} instead of updating the list. Fix the backend logic. The acceptance tests of the original task check that a movie can be added to a list, that the same movie cannot be added to a list twice, that a movie can be removed, that several movies can be added and then removed one by one, and that the right error comes back for a list that does not exist and for a movie that is not in the list. There is no live server here. This offline version feeds the movie catalogue and a sequence of HTTP requests on standard input and expects the response of every request on standard output , in or