{"id":16772014,"url":"https://github.com/eddmann/our-wedding-gallery","last_synced_at":"2025-07-13T22:32:09.895Z","repository":{"id":61189749,"uuid":"533016449","full_name":"eddmann/our-wedding-gallery","owner":"eddmann","description":"Serverless photo gallery with the ability to upload and view photos within an infinite scrolling list.","archived":false,"fork":false,"pushed_at":"2022-10-14T16:51:54.000Z","size":1534,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-14T06:29:58.232Z","etag":null,"topics":["dynamodb","javascript","react","s3","serverless","tailwindcss"],"latest_commit_sha":null,"homepage":"https://eddmann.com/posts/building-a-serverless-wedding-photo-gallery-using-aws-lambda-s3-and-dynamodb/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-05T18:29:59.000Z","updated_at":"2024-09-11T20:54:13.000Z","dependencies_parsed_at":"2023-01-19T23:50:17.013Z","dependency_job_id":null,"html_url":"https://github.com/eddmann/our-wedding-gallery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddmann%2Four-wedding-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddmann%2Four-wedding-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddmann%2Four-wedding-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddmann%2Four-wedding-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddmann","download_url":"https://codeload.github.com/eddmann/our-wedding-gallery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225924939,"owners_count":17546268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dynamodb","javascript","react","s3","serverless","tailwindcss"],"created_at":"2024-10-13T06:29:41.736Z","updated_at":"2024-11-22T15:43:37.695Z","avatar_url":"https://github.com/eddmann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Our Wedding Gallery\n\nServerless photo gallery with the ability to upload and view photos within an infinite scrolling list.\n\n🌎 [Website](https://github.com/eddmann/our-wedding-website) | 📷 Gallery | 🏗️ [Infrastructure](https://github.com/eddmann/our-wedding-infra)\n\n## Overview\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"documentation/gallery.png\" width=\"200px\"\u003e \u003cimg src=\"documentation/lightbox.png\" width=\"200px\"\u003e\u003c/p\u003e\n\nIn the tradition of over engineering a problem related to our upcoming wedding - we really did not want resized/compressed photos shared through WhatsApp/iMessage of the day.\nSo instead, I decided to create a simple photo gallery site which provides guests with the ability to share the the original photos in one place.\n\n- Local development enviornment which replicates production using [Serverless Offline](https://github.com/dherault/serverless-offline).\n- Serverless JavaScript RESTful API using [HAL](https://stateless.group/hal_specification.html).\n- Create React App and Tailwind CSS-based client single-page application, hosted statically on S3.\n- Uploaded photos stored within S3 using pre-signed POST requests.\n- Photos resized upon successful upload to S3 (in WebP format) using Lambda and Node.js [Sharp library](https://github.com/lovell/sharp).\n- Photo metadata stored within DynamoDB using a [Single-Table Design](https://www.alexdebrie.com/posts/dynamodb-single-table/).\n  Uses a _hot key_ for presenting the listed gallery 😬, so as to take advantage of the timestamp-based sort key.\n- CI pipeline developed using [GitHub workflows](.github/workflows/), deploying the API and client to the given stage-environments (staging and production).\n\n## Getting Started\n\n```\nmake client/install api/install\nmake client/dev/start\nmake api/dev/start\n```\n\n## Architecture\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"documentation/diagram.png\" width=\"700px\"\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddmann%2Four-wedding-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddmann%2Four-wedding-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddmann%2Four-wedding-gallery/lists"}