{"id":23750595,"url":"https://github.com/nuanv/crc-aws","last_synced_at":"2026-02-18T15:02:04.001Z","repository":{"id":270187507,"uuid":"909586410","full_name":"nuanv/CRC-AWS","owner":"nuanv","description":"The Cloud Resume Challenge","archived":false,"fork":false,"pushed_at":"2025-02-03T04:37:59.000Z","size":2169,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T05:28:03.626Z","etag":null,"topics":["aws","cloudflare","cloudresumechallenge","python-lambda","terrafrom"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuanv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-12-29T06:50:19.000Z","updated_at":"2025-02-03T04:38:02.000Z","dependencies_parsed_at":"2025-01-10T18:39:32.228Z","dependency_job_id":null,"html_url":"https://github.com/nuanv/CRC-AWS","commit_stats":null,"previous_names":["nyaio/cloud-project","nyaio/cloud-resume-project","nimzou/cloud-resume-project","nuanv/crc-aws"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuanv%2FCRC-AWS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuanv%2FCRC-AWS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuanv%2FCRC-AWS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuanv%2FCRC-AWS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuanv","download_url":"https://codeload.github.com/nuanv/CRC-AWS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239914937,"owners_count":19717760,"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":["aws","cloudflare","cloudresumechallenge","python-lambda","terrafrom"],"created_at":"2024-12-31T16:23:07.710Z","updated_at":"2025-02-20T21:16:04.601Z","avatar_url":"https://github.com/nuanv.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Cloud Resume Challenge\r\n\r\nThis repository contains the code for the [Cloud Resume Challenge](https://cloudresumechallenge.dev/docs/the-challenge/aws/) project using AWS.\r\n\r\n![Architecture](./assets/diagram.png)\r\n\r\n## Running the project\r\n\r\n1. Clone the repository.\r\n\r\n```bash\r\ngit clone https://github.com/nuanv/cloud-resume-project.git\r\ncd cloud-resume-project\r\n```\r\n\r\n2. Copy the example terraform var file `example_terraform.tfvars` to `terraform.tfvars`.\r\n\r\n```bash\r\ncp example_terraform.tfvars terraform.tfvars\r\n```\r\n\r\n\u003e [!NOTE]\r\n\u003e Install [terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli) and [aws-cli](https://aws.amazon.com/cli/) before proceeding further. \u003c/br\u003e\r\n\u003e Run `aws configure` and provide required credentials for the user account. \u003c/br\u003e\r\n\u003e Change the variables in `terraform.tfvars` according to your preference.\r\n\r\n3. Initialize a working directory containing config files and install plugins for required providers.\r\n\r\n```bash\r\nterraform init\r\n```\r\n\r\n\u003e [!WARNING]\r\n\u003e While the terraform deployment allows you to choose region of your choice, make sure you change the region in `modules/function/function.ts` to the region of your choice.\r\n\r\n4. Now we will run our `function module` which will setup the API gateway, Lambda function and DynamoDB.\r\n\r\n```bash\r\nterraform apply -target=module.function\r\n```\r\n5. Once the infrastructure is deployed you will receive api invoke URL in your terminal. Change the url in `src/app/api/getViews.ts` to the url you received.\r\n\r\n```ts\r\nconst API_URL = '\u003cAPI Gateway Invoke URL\u003e';\r\n```\r\n\r\n6. Install required packages \u0026 Build static files for our website.\r\n\r\n```bash\r\nnpm install\r\nnpm run export\r\n```\r\n\r\n7. Now we will run our `website module` which will setup the S3 bucket and cloudflare DNS.\r\n\r\n```bash\r\nterraform apply -target=module.website\r\n```\r\n\r\n8. To bring down the whole infrastructure run.\r\n\r\n```bash\r\nterraform destroy\r\n```\r\n\r\n## Visit your domain to update view count\r\n![Count](./assets/counter.gif)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuanv%2Fcrc-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuanv%2Fcrc-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuanv%2Fcrc-aws/lists"}