Backend Code Review Practice
Practice reviewing backend pull requests with real database, idempotency, webhook, and auth challenges.
Feat: Add Invoice search and bulk export
This PR adds a new endpoint to search invoices by reference, and a worker job to export invoice details.
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.
Feat: Add Shipment search and bulk export
This PR adds a new endpoint to search shipments by reference, and a worker job to export shipment details.
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.
Feat: Handle Stripe Payment webhooks
Adds Stripe webhook intake so the platform can process retried payment events without manual intervention.
Feat: Handle Adyen Invoice webhooks
Adds Adyen webhook intake so the platform can process retried invoice events without manual intervention.
Feat: Handle PayPal Subscription webhooks
Adds PayPal webhook intake so the platform can process retried subscription events without manual intervention.
Feat: Handle Checkout Refund webhooks
Adds Checkout webhook intake so the platform can process retried refund events without manual intervention.
Feat: Support Avatar upload and preview
Adds API support for uploading avatar files and storing them in the shared uploads directory.
Feat: Support Report upload and preview
Adds API support for uploading report files and storing them in the shared uploads directory.
Feat: Support Receipt upload and preview
Adds API support for uploading receipt files and storing them in the shared uploads directory.
Feat: Support Document upload and preview
Adds API support for uploading document files and storing them in the shared uploads directory.
Fix: Return 404 when an account is missing
Small controller cleanup so the account endpoint behaves correctly when the requested record does not exist.
Feat: Add comment pagination to the audit log
Adds simple page and pageSize support so the audit log does not fetch every comment at once.
Fix: Send password reset email before confirming success
Tightens a password reset endpoint so the response reflects whether the reset email was actually sent.