SOutaHI / download-object-from-s3

download object from s3 without server only frontend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

download-object-from-s3

  • download object from s3 without server.
  • only use frontend.

setup

  • create .env file, and write access key for s3.
REACT_APP_AWS_ACCESS_KEY_ID='*************'
REACT_APP_AWS_SECRET_ACCESS_KEY='**********'
REACT_APP_AWS_DEFAULT_REGION='ap-northeast-1'
REACT_APP_BUCKET_NAME='***************'

execute

start

npm start

download file

  • push "download" button. and download file on s3 bucket under ~/Downloads/.

ref

uniform info

authorize

allow CORS

example

download s3 object

About

download object from s3 without server only frontend.


Languages

Language:TypeScript 58.7%Language:HTML 26.8%Language:CSS 14.5%