Language: Java. The pull request has one bug. You get three tries to find the line, then a short debrief.
Customers could add products to their favourites but not take them off. The heart on a favourite product now removes it. Favourites are stored as a list of product ids.
Codetrap needs JavaScript: the code review happens in your browser.