Skip to Content Tyler Smith

Signed Frontend Uploads Example

Signed Frontend Uploads Example Screenshot

Stack

  • S3
  • MinIO
  • Node.js
  • Docker
  • Express
  • Vite

This example repo shows the end-to-end code to generate signed URLs for frontend S3 uploads using the @aws-sdk/client-s3 library. I built it because most of the signed frontend uploads examples I found for Node.js used the deprecated aws-sdk package.

The repo uses a MinIO container for local object storage so that it can be run end-to-end without creating a cloud bucket, and it comes with an install script to set up the local environment with a single command.