Skip to content

arxpw/wedding-site

Repository files navigation

Alex & Kristin's wedding website

( open sourced it because why not! )

See the live site here! aandkwedding.co.uk

This project was built with React, TypeScript & Vite.

Deployments

This project is setup to deploy to AWS S3 with a CloudFront distribution.

Workflow taken from:

https://github.com/Reggionick/s3-deploy

iam policy example:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3BucketManipulation",
      "Effect": "Allow",
      "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:DeleteObject",
        "s3:ListMultipartUploadParts",
        "s3:AbortMultipartUpload",
        "s3:ListBucket"
      ],
      "Resource": "arn:aws:s3:::<bucket name>/*"
    },
    {
      "Sid": "AllowS3BucketListing",
      "Effect": "Allow",
      "Action": ["s3:ListBucket"],
      "Resource": "arn:aws:s3:::<bucket name>"
    },
    {
      "Sid": "CFInvalidation",
      "Effect": "Allow",
      "Action": "cloudfront:CreateInvalidation",
      "Resource": "arn:aws:cloudfront::<AWS account ID>:distribution/<CF distribution ID>"
    }
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors