This repository contains a simple rest api that uploads files to an s3 bucket and delete files files from an s3 bucket
Read More about this project here
Must have an access key and access secret key from AWS assinged to a user with the appropriate permission for the s3 bucket.
Clone the repository
git clone https://github.com/Sean-Miningah/s3BucketWithGo.git
Create .env file in the root and populate it with configurations in this format
AWS_BUCKET_NAME="<bucket-name-here>"
AWS_REGION="<aws-region-here>"
AWS_S3_BUCKET_ACCESS_KEY="<aws-bucket-access-key-here>"
AWS_S3_BUCKET_SECRET_ACCESS_KEY="<aws-bucket-secret-key-here>"
To run the server, execute the go run command
go run main.go