PhotoViewer is an interactive photo viewer that handles uploading of photos and albums of photos via Amazon S3, Amazon CloudFront, and Amazon Lambda
You must setup an S3 bucket, cloudfront distribution, and lambda function with basic auth. Then you must put these variables the config.js
file as seen below.
const config = {
"ALBUM_BUCKET_NAME" : "the name of your s3 bucket e.g. mynews3bucket",
"BUCKET_REGION" : "the region of your s3 bucket e.g. eu-central-1",
"IDENTITY_POOL_ID" : "the id of your IAM identity pool e.g. us-west-1:12b703zf-dda2-4af0-82a8-c57fe8463fce",
"ACCESS_KEY" : "Your access key (under account, security credentials)",
"SECRET" : "Your secret key (under account, security credentials)"
}