Back to Problem Library
API & Backend

Code Review: Inefficient API Implementation

easyJS / TS

Problem Statement

Review the following search API route handler. Identify unnecessary work, missing database pagination, over-fetching raw data, and security exposures.

Includes TypeScript & JavaScript starter code
Start Interview with this Problem