Skip to content

aksel/s3-fileupload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

S3 Fileupload example

Example Node.js service for handling uploads to S3, with Express and multer.

Usage

Clone repo

git clone https://github.com/aksel/s3-fileupload.git

Download CSV of access key and secret access key.

Under the tab 'Security credentials', you can find the user's access keys.

Update package.json with your bucket and access keys.

As an example

"scripts": {
  "start": "cross-env NODE_ENV=development BUCKET=some_fileupload_bucket ACCESS_KEY_ID=accessKey123421 SECRET_ACCESS_KEY=secretKey21390321 node ./src/server.js"
}

Start service, and POST to http://localhost:5000/

Releases

No releases published

Packages

No packages published