MovieDB(MERN): Actor Follow & Notification System

Company: Amazon Sde1 _26april

Difficulty: medium

Problem Statement

MovieDB(MERN): Actor Follow & Notification System Problem MovieDB is an online app that lets users explore movies, submit ratings and share reviews. Its actor follow and notification feature keeps users informed when new movies featuring their favourite actors are launched. The feature is broken: users who follow an actor receive no notification when a movie with that actor is launched, and the unread count on the bell icon shows notifications that do not exist. Your task is to implement the backend behaviour correctly. In the original MERN assessment this is an Express API. The judge has no network and no server, so this offline version feeds the HTTP requests on standard input, one per line, and you print the response to each request . The endpoint rules below are the ones the assessment specifies; everything marked (inferred -- ...) fills a detail the assessment screens do not show. Authentication Every endpoint requires a Bearer token. Each request line starts with the caller's