Skip to content

bca-treasury/s3-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to setup

  1. Please make sure your laptop has nodejs v14.0+
  2. Run npm install on the root directory

How to run

  1. Copy .env.example to .env
  2. Fill the AWS_ACCESS_KEY AND AWS_SECRET_KEY with the object storage keys
  3. Fill the AWS_ENDPOINT with your object storage endpoint
  4. Fill the AWS_BUCKET_NAME with your desired bucket name
  5. Run npm install to install all dependencies
  6. Run npm run upload to start uploading file
  7. Run npm run delete to delete the file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published