NodeJS Nest + Vue: Upload directly to AWS S3 using Presigned URL

Sofyan Hadi Ahmad
1 min readApr 20, 2020

Uploading directly to S3 will give you a lot of benefits. You can have a much faster and robust uploading process, you can also set and assign a security role with high precision access to a single object without having to add any credentials to your account or open up the whole bucket, and not to mention your system will be very-very reliable. But, implementing the presigned URL is not a very straight forward process.

TLDR: Visit this repo https://github.com/sofyan-ahmad/nestjs-vuejs-s3-signedUrl

The following are my codes for presigned URL implementation you can use as reference and hope can help you implement the Presigned URL.

Backend Side: NestJS

Frontend Side: VueJS

Upload Zone Component

Views

API Client

--

--