Skip to content

feat(s3): add avatar upload for users and companies via S3#26

Merged
YakovchukIvan merged 2 commits into
developfrom
feat/s3-avatar-upload
Apr 12, 2026
Merged

feat(s3): add avatar upload for users and companies via S3#26
YakovchukIvan merged 2 commits into
developfrom
feat/s3-avatar-upload

Conversation

@YakovchukIvan
Copy link
Copy Markdown
Owner

feat(s3): add avatar upload for users and companies via S3

add global S3 module and configuration
implement upload with old file cleanup (users/, companies/) configure Multer (memoryStorage) with file validation

Users:

add PATCH /users/me/avatar
update avatarUrl

Companies:

add PATCH /companies//avatar (OWNER, ADMIN)
update avatarUrl
separate file upload from JSON updates

add global S3 module and configuration
implement upload with old file cleanup (users/, companies/)
configure Multer (memoryStorage) with file validation

Users:

add PATCH /users/me/avatar
update avatarUrl

Companies:

add PATCH /companies//avatar (OWNER, ADMIN)
update avatarUrl
separate file upload from JSON updates
@YakovchukIvan YakovchukIvan self-assigned this Apr 12, 2026
@YakovchukIvan YakovchukIvan merged commit 0861f46 into develop Apr 12, 2026
2 checks passed
@YakovchukIvan YakovchukIvan deleted the feat/s3-avatar-upload branch April 12, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant