codeuino / social-platform-donut-backend

Donut API:
http://donut-api-prod.codeuino.org/
GNU General Public License v3.0
24 stars 57 forks source link

Upload files to aws and compress if images are being uploaded. #200

Closed lazycipher closed 3 years ago

lazycipher commented 3 years ago

name: Pull Request template about: Implements uploading of files to AWS and compression of images.

Problem

Describe the problem you are trying to achieve. Please provide in detail_ Currently, we don't upload any image to s3 buckets but save on local disk.

Solution of problem

How did you solve this problem? I used was sdk, multerm jimp to solve this issue. Needed to create few middlewares to perform this.

Type of Change

[ ] Bug fix [x] New Feature [ ] Development of UI/UX prototypes [ ] Small refactor [ ] Change in Documentation

Checklist

[x] My code follows the same style as the codebase [x] My Code change requires a change in documentation [ ] I have updated the Readme accordingly [x] I made PR against development branch [ ] I have run the test cases locally and it's passing. [ ] I have squashed my commits