Skip to content

Todo #21#28

Open
LetsGetCactus wants to merge 7 commits intodevfrom
dev-upload-photos
Open

Todo #21#28
LetsGetCactus wants to merge 7 commits intodevfrom
dev-upload-photos

Conversation

@LetsGetCactus
Copy link
Owner

@LetsGetCactus LetsGetCactus commented Nov 24, 2025

  • Added Cloudinary and Multer packages
  • Created Module and Service for cloudinary
  • Modified create() and update() in apartment and user (service and controller) to upload pictures to Cloudinary and saving their public url on db
  • Modified DTOs for create and update apartments so property pictures would be in its own DTO (Needed for img selector)
  • pictures are correctly updated, created and removed from both Cloudinary and DB

- Added cloudinary and multer packages
- Modified create() and update() in apartment (service and controller) to upload pictures to Cloudinary and saving their public url on db
- update() adds a new pic, but does not remove older ones
- Refactor apartment to obtain pictures by pictures module as intermediary betwen CLoudinary and Apartment
…(when user was owner)

- updatePolimorf now uses parallel promises for deleting and updating pis on cloudinary
-Fixed pictures controller missing paramenter
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