Just wanted share some sample code from the September Virtual Tech Lab. In the lab, I talked about the advantages of using presigned urls versus proxying uploads/downloads on your own server.
I also covered how to setup the AWS SDK V3 connected to Storj, create an endpoint to issue presigned urls, and how to upload with them using curl.
I expanded the example to show how you can use a static site in React to upload files directly to Storj using the presigned url from the browser.
Nodejs backend code: GitHub - amozoss/storj-s3-presign-nodejs
React Frontend code: GitHub - amozoss/storj-s3-presign-react: Using s3 presigned urls to upload to Storj