{"id":20492688,"url":"https://github.com/kartikmehta8/host-react-on-s3","last_synced_at":"2026-05-21T16:04:21.904Z","repository":{"id":262063109,"uuid":"886119596","full_name":"kartikmehta8/host-react-on-s3","owner":"kartikmehta8","description":"A React app with automated deployment to AWS S3 using GitHub Actions.","archived":false,"fork":false,"pushed_at":"2024-11-10T09:19:14.000Z","size":321,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T11:55:46.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/kartikmehta8.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":"2024-11-10T08:50:36.000Z","updated_at":"2024-11-10T09:19:18.000Z","dependencies_parsed_at":"2024-11-10T09:41:28.437Z","dependency_job_id":null,"html_url":"https://github.com/kartikmehta8/host-react-on-s3","commit_stats":null,"previous_names":["kartikmehta8/host-react-on-s3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kartikmehta8%2Fhost-react-on-s3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kartikmehta8%2Fhost-react-on-s3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kartikmehta8%2Fhost-react-on-s3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kartikmehta8%2Fhost-react-on-s3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kartikmehta8","download_url":"https://codeload.github.com/kartikmehta8/host-react-on-s3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242073899,"owners_count":20067935,"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":[],"created_at":"2024-11-15T17:30:13.069Z","updated_at":"2026-05-21T16:04:20.197Z","avatar_url":"https://github.com/kartikmehta8.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React App with Automated Deployment to AWS S3\n\nThis project is a minimal React application that uses Parcel for bundling and includes automated deployment to Amazon S3 using GitHub Actions.\n\n## Features\n\n- React app bundled with `Parcel`\n- Automated deployment to `AWS S3`\n- GitHub Actions workflow for continuous deployment\n\n## Setup Guide\n\n### 1. Prerequisites\n- **AWS Account**: Ensure you have an AWS account with access to create an S3 bucket.\n\n### 2. Setting up AWS S3\n\nFollow the detailed guide in [S3.md](./S3.md) to set up an S3 bucket for static website hosting. The guide covers enabling public access, setting up CORS, and configuring bucket policies.\n\n### 3. Setting up GitHub Repository\n\n**Set GitHub Secrets**:\nGo to **Settings \u003e Secrets and variables \u003e Actions** and add the following secrets:\n\n![Secrets](./images/screts.png)\n\n- `AWS_ACCESS_KEY_ID`: Your AWS Access Key ID.\n- `AWS_SECRET_ACCESS_KEY`: Your AWS Secret Access Key.\n- `AWS_BUCKET_NAME`: Name of your S3 bucket.\n- `AWS_REGION`: Region of your S3 bucket (e.g - `ap-south-1`).\n\n### 4. Deploy Script\n\nThe `deploy.js` script uploads the build output to S3, setting appropriate `Content-Type` headers for HTML files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartikmehta8%2Fhost-react-on-s3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkartikmehta8%2Fhost-react-on-s3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartikmehta8%2Fhost-react-on-s3/lists"}