Skip to content

Example of uploading large files in multiple parts to S3 from React client + Server

License

Notifications You must be signed in to change notification settings

WeebNetsu/aws-large-file-upload-example

Repository files navigation

AWS Large File Upload Example

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.

Running

  1. Create a settings.json with the following content
{
	"AWSAccessKeyId": "Your AWS Access Key Id",
	"AWSSecretAccessKey": "Secret Key Id"
}
  1. Change your AWS details in imports/api/aws/methods.ts
  2. Make sure your permissions are open on AWS (or you may get an Access Denied error)
  3. Run meteor --settings settings.json to start the server

Tutorial

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:

liberapay kofi patreon paypal