https://github.com/4lessandrodev/avatar_service_aws_s3
NestJS avatar service. Management images and uploading it to aws s3
https://github.com/4lessandrodev/avatar_service_aws_s3
Last synced: 4 months ago
JSON representation
NestJS avatar service. Management images and uploading it to aws s3
- Host: GitHub
- URL: https://github.com/4lessandrodev/avatar_service_aws_s3
- Owner: 4lessandrodev
- Created: 2021-07-16T02:13:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-18T04:01:41.000Z (over 4 years ago)
- Last Synced: 2025-01-07T14:25:07.253Z (12 months ago)
- Language: TypeScript
- Size: 258 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NestJS Avatar service
> NestJS avatar service. Management images and uploading it to aws s3
- Create Stream
- Create random filename
- Generate pre-signed url from aws S3
- Generate different sizes
- Crop image
- Upload to aws S3
References
- https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/s3-example-creating-buckets.html
- https://nodejs.org/en/knowledge/advanced/streams/how-to-use-fs-create-read-stream/
- https://sharp.pixelplumbing.com/api-resize
- https://docs.aws.amazon.com/AmazonS3/latest/userguide/PresignedUrlUploadObject.html