Backend Track • Intermediate • 3 mins review
Feat: Support Avatar upload and preview
Adds API support for uploading avatar 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 avatar files directly from the dashboard and preview them later.
Changed Files (2)
- src/controllers/AvatarUploadController.ts +15 -1
- src/services/AvatarStorageService.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