Add a user search feature to the admin console. When an operator searches by email or name, show the matching users. Complete search.
This challenge has you build a user search API for the admin console in NestJS. You complete search so that when an operator searches by email or name, the matching users are shown. The search query arrives as {field, value} and you use the given in-memory store, practicing the flow of taking a search request and turning it into a response.
This problem is about taking a search request shaped like {field, value} and returning the users that match. You read the search request, look the users up in the given in-memory store, and respond with the matches. Verifying an API like this means confirming that a normal search works — that searching by email and by name each returns the matching users.