MovieDB is an online app that allows users to explore movies, submit ratings, and share reviews. The actor follow and notification feature keeps users informed when new movies featuring their favorite actors are launched. Currently, this system is not working as expected and your task is to fix the backend for it.
The actor follow and notification feature keeps users informed when new movies featuring their favorite actors are launched. Currently, this system is not working as expected.
When users follow an actor, they should receive a notification whenever a new movie featuring that actor is launched on the app. Currently, users are not receiving these notifications. In addition, the notification number displayed is incorrect, showing unread notifications that do not exist when clicked.
Purpose Retrieves all actors that the authenticated user is currently following Auth: Required (Bearer token) Success Responses (200 OK) [ "Aaron Eckhart", "Al Pacino", "Andy Serkis" ]
Purpose Allows authenticated users to follow an actor Auth: Required (Bearer token) Request Body { "actorName": "Aaron Eckhart" // Required: Actor name string } Success Responses (201) { "message": "You are now following Aaron Eckhart" } Error Responses: Missing actor name (400):

