Backend Track • Intermediate • 4 mins review
Feat: Add Transaction search and bulk export
This PR adds a new endpoint to search transactions by reference, and a worker job to export transaction details.
Scenario Goal & Context
Goal: Implement a fast search method in the repository and a batch export worker that processes a list of transactions.
Background: The customer success team needs to quickly find transactions by exact reference ID and export them for daily reporting.
Changed Files (3)
- src/repository/TransactionRepository.ts +12 -2
- src/jobs/TransactionExportJob.ts +10 -3
- test/jobs/TransactionExportJob.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