Backend Track • Intermediate • 5 mins review

Feat: Support Receipt upload and preview

Adds API support for uploading receipt files and storing them in the shared uploads directory.

Scenario Goal & Context

Goal: Accept multipart uploads, persist the file on disk, and return the public path so the frontend can render a preview.

Background: Users need to attach receipt files directly from the dashboard and preview them later.

Changed Files (2)

  • src/controllers/ReceiptUploadController.ts +15 -1
  • src/services/ReceiptStorageService.ts +15 -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