Backend Track • Intermediate • 6 mins review

Feat: Add Customer search and bulk export

This PR adds a new endpoint to search customers by reference, and a worker job to export customer details.

Scenario Goal & Context

Goal: Implement a fast search method in the repository and a batch export worker that processes a list of customers.

Background: The customer success team needs to quickly find customers by exact reference ID and export them for daily reporting.

Changed Files (3)

  • src/repository/CustomerRepository.ts +12 -2
  • src/jobs/CustomerExportJob.ts +10 -3
  • test/jobs/CustomerExportJob.test.ts +12 -0

Ready to practice reviewing this PR?

Open this scenario inside the interactive DiffSense simulator to leave inline comments and receive an automated score.

Start Review Session