Skip to content

HuakunShen/Drag-and-Drop-Image-Uploader-With-AWS-S3

Repository files navigation

Drag-and-Drop-Image-Uploader-With-AWS-S3

Intro

Using

  • Nodejs + Express for backend
  • react for front end
  • AWS S3 for File Storage

Demo and Functions

Highlight when files are dragged over

highlight

Upload a single file with Drag-and-Drop

single_file

Upload multiple files with Drag-and-Drop

multiple

Delete Images, not synced to S3 Bucket Yet

delete

Upload a files with regular <input />

input_multiple

config

Create a .env in the outmost directory, follow the following pattern (also in .env_template):

accessKeyId=
secretAccessKey=
region=
Bucket=

accessKeyId and secretAccessKey can be created in AWS console, from my secret credentials, Access keys.

image-20200410045606235

region can be found in S3's bucket list,

image-20200410045855664

in this example, region is us-east-2, and Bucket is test-upload-huakun.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published