{"id":21431929,"url":"https://github.com/mikaeelkhalid/react-deployment-aws-cdk","last_synced_at":"2025-10-26T10:05:35.565Z","repository":{"id":147704044,"uuid":"594490177","full_name":"mikaeelkhalid/react-deployment-aws-cdk","owner":"mikaeelkhalid","description":"This repository contains an AWS CDK stack for deploying a React application. It uses the AWS Cloud Development Kit (CDK) to create an S3 bucket for storing the application files, and a CloudFront distribution for serving the files to the public.","archived":false,"fork":false,"pushed_at":"2023-11-03T10:27:17.000Z","size":57,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T19:10:05.046Z","etag":null,"topics":["aws","aws-cdk","cloudfront","iac","reactjs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mikaeelkhalid.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}},"created_at":"2023-01-28T17:59:00.000Z","updated_at":"2023-12-11T22:57:42.000Z","dependencies_parsed_at":"2025-01-23T08:42:00.873Z","dependency_job_id":"d067f1a2-6d62-49a1-a55b-09f66806fa41","html_url":"https://github.com/mikaeelkhalid/react-deployment-aws-cdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikaeelkhalid/react-deployment-aws-cdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Freact-deployment-aws-cdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Freact-deployment-aws-cdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Freact-deployment-aws-cdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Freact-deployment-aws-cdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikaeelkhalid","download_url":"https://codeload.github.com/mikaeelkhalid/react-deployment-aws-cdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Freact-deployment-aws-cdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268265830,"owners_count":24222526,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-cdk","cloudfront","iac","reactjs","typescript"],"created_at":"2024-11-22T23:15:30.560Z","updated_at":"2025-10-26T10:05:30.537Z","avatar_url":"https://github.com/mikaeelkhalid.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Welcome to CDK React App Deployment [Typescript]\n\n[![Mikaeel Khalid](https://badgen.now.sh/badge/by/mikaeelkhalid/purple)](#)\n\nThis repository contains an AWS CDK stack for deploying a React application. It creates an S3 bucket for storing the application files and a CloudFront distribution for serving the files to the public.\n\nThis project has CI/CD and an improved version here: [react-deployment-cicd-aws-cdk](https://github.com/mikaeelkhalid/react-deployment-cicd-aws-cdk).\n\n### Usage\n\nTo use this stack, you must have the AWS CDK CLI installed and configured on your machine.\n\n1. Clone the repository: https://github.com/mikaeelkhalid/react-deployment-aws-cdk.git\n2. Run `npm install` in the repository's root directory to install the necessary dependencies\n3. Run `cdk deploy` to deploy the stack to your AWS account\n4. Run `cdk destroy` to destroy \u0026 clean up resources.\n\n\n### Stack Components\n\nAn S3 bucket named `react-deployment-bucket` is created for storing the application files. The bucket is configured as a website and sets to allow public read access.\nA CloudFront distribution is created and configured to use the S3 bucket as its origin.\nOutputs\n\n1. `WebsiteURL`: The URL is hosted in the S3 bucket.\n2. `CloudFrontDistributionDomainName`: The domain name of the CloudFront distribution.\n\nThis repo is part of the following blog post: https://blog.mikaeels.com/deploy-react-app-with-aws-cdk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikaeelkhalid%2Freact-deployment-aws-cdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikaeelkhalid%2Freact-deployment-aws-cdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikaeelkhalid%2Freact-deployment-aws-cdk/lists"}