**Description:** Allow users to upload a profile picture. **Tasks:** - [ ] Install `multer` - [ ] Create `POST /api/users/me/avatar` - [ ] Accept only `image/jpeg` and `image/png`, max 2MB - [ ] Save file path to the user document (or upload to a cloud provider) - [ ] Return updated user object **Acceptance Criteria:** Users can upload a profile picture; invalid file types return `400`. ---
Description:
Allow users to upload a profile picture.
Tasks:
multerPOST /api/users/me/avatarimage/jpegandimage/png, max 2MBAcceptance Criteria:
Users can upload a profile picture; invalid file types return
400.