This is a simple example showing you how to do multi-part file uploads in JavaScript (React/Meteor.js/Node.js) for AWS S3, with their modern aws-sdk.
- Create a settings.json with the following content
{
"AWSAccessKeyId": "Your AWS Access Key Id",
"AWSSecretAccessKey": "Secret Key Id"
}
- Change your AWS details in
imports/api/aws/methods.ts
- Make sure your permissions are open on AWS (or you may get an Access Denied error)
- Run
meteor --settings settings.json
to start the server
You can watch the YouTube tutorial right here: YouTube
If you want to support the work I do, please consider donating to me on one of these platforms: