MrToph / image-hoster

Custom AWS S3 Image hoster. Allows to upload images to your own S3 bucket.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image-hoster

Custom AWS S3 Image hoster. Allows to upload images to your own S3 bucket using an AWS Lambda function as the API gateway.

Steps

  1. Edit the bucket name in serverless.yml. A new bucket with this name will automatically be created when deployed.
  2. Set environment variables in ~/.aws/credentials: https://docs.aws.amazon.com/powershell/latest/userguide/specifying-your-aws-credentials.html
  3. serverless deploy this

You can check the bucket here: https://console.aws.amazon.com/s3/

Optional: Edit the CORS configuration: Permissions/CORS Configuration

About

Custom AWS S3 Image hoster. Allows to upload images to your own S3 bucket.


Languages

Language:JavaScript 100.0%