{"id":26643738,"url":"https://github.com/guysnacho/ssg-s3","last_synced_at":"2026-04-02T01:34:53.494Z","repository":{"id":248351995,"uuid":"828461169","full_name":"Guysnacho/ssg-s3","owner":"Guysnacho","description":"Welcome to the Black Belt AWS Storefront Initiative. Eventually a zero-hero course for getting a Next.js site from static deploys into S3 to a Fargate hosted storefront.","archived":false,"fork":false,"pushed_at":"2025-04-03T14:41:48.000Z","size":624,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T09:25:22.617Z","etag":null,"topics":["aws","aws-cloudfront","aws-ec2","aws-s3","githib-actions","terraform"],"latest_commit_sha":null,"homepage":"https://blackbelt-init.notion.site","language":"HCL","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/Guysnacho.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-14T08:12:40.000Z","updated_at":"2025-04-03T14:41:51.000Z","dependencies_parsed_at":"2024-08-27T10:53:59.258Z","dependency_job_id":"803fe445-87af-4561-bc4e-b19e3c7a393f","html_url":"https://github.com/Guysnacho/ssg-s3","commit_stats":null,"previous_names":["guysnacho/ssg-s3"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/Guysnacho/ssg-s3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guysnacho%2Fssg-s3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guysnacho%2Fssg-s3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guysnacho%2Fssg-s3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guysnacho%2Fssg-s3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guysnacho","download_url":"https://codeload.github.com/Guysnacho/ssg-s3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guysnacho%2Fssg-s3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:05:07.454Z","status":"ssl_error","status_checked_at":"2026-04-02T00:56:46.496Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws","aws-cloudfront","aws-ec2","aws-s3","githib-actions","terraform"],"created_at":"2025-03-24T20:34:46.895Z","updated_at":"2026-04-02T01:34:53.476Z","avatar_url":"https://github.com/Guysnacho.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Static Site Generation (SSG) meets AWS S3\n\n[![🌱 Apply, Build, Deploy 🌿](https://github.com/Guysnacho/ssg-s3/actions/workflows/main.yml/badge.svg)](https://github.com/Guysnacho/ssg-s3/actions/workflows/main.yml)\n\nThis repo is to help me actually build this AWS course. ~Shouldn't be too hard~ This has and will continue to be a learning experience. Follow along, check the releases, make a fork, go crazy, but check the [Project Home](https://blackbelt-init.notion.site/) for more details. ✨\n\n## Project Layout\n\n- Terraform Package\n- Web package\n- Github workflows\n  - Applies terraform infra changes after commits to main branch\n  - Bundles our app into static site files and a Docker image\n  - Deploys uploads static site to S3 to be served by CloudFront\n  - Uploads our Docker Image to the run context\n  - Updates an SSM parameter's value to this artifact's URL\n    - Important note - by default, an artifact upload will only live for 90 days. Keep this in mind if you want to roll changes back to a given date past that.\n- Fixtures - Useful references and SQL scripts for seeding your database.\n\n### Local Setup\n\n1. Signup for [Terraform HCP](https://app.terraform.io/public/signup/account)\n2. Install [tf cli](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)\n3. Install [aws cli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)\n4. Build starter [Next](https://nextjs.org/) site\n   1. [Configure ssg export](https://nextjs.org/docs/pages/building-your-application/deploying/static-exports)\n5. Setup bucket, cloudfront, provider, outputs, whatever else locally\n6. Add GitHub action secrets\n7. Test workflows\n8. Sip water\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguysnacho%2Fssg-s3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguysnacho%2Fssg-s3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguysnacho%2Fssg-s3/lists"}