Backend Track • Intermediate • 4 mins review

Feat: Support Report upload and preview

Adds API support for uploading report 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 report files directly from the dashboard and preview them later.

Changed Files (2)

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