{"id":13941326,"url":"https://github.com/Namyalg/Upload-to-S3-from-React","last_synced_at":"2025-07-20T04:31:13.483Z","repository":{"id":41104365,"uuid":"476697489","full_name":"Namyalg/Upload-to-S3-from-React","owner":"Namyalg","description":"A guide on how to connect AWS S3 to a React Frontend","archived":false,"fork":false,"pushed_at":"2022-07-13T00:29:28.000Z","size":161,"stargazers_count":8,"open_issues_count":2,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-27T10:36:05.443Z","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/Namyalg.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-04-01T11:44:17.000Z","updated_at":"2024-04-29T06:00:51.000Z","dependencies_parsed_at":"2022-08-10T01:24:00.505Z","dependency_job_id":null,"html_url":"https://github.com/Namyalg/Upload-to-S3-from-React","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Namyalg/Upload-to-S3-from-React","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namyalg%2FUpload-to-S3-from-React","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namyalg%2FUpload-to-S3-from-React/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namyalg%2FUpload-to-S3-from-React/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namyalg%2FUpload-to-S3-from-React/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Namyalg","download_url":"https://codeload.github.com/Namyalg/Upload-to-S3-from-React/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namyalg%2FUpload-to-S3-from-React/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266067257,"owners_count":23871324,"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-08-08T02:01:16.619Z","updated_at":"2025-07-20T04:31:12.930Z","avatar_url":"https://github.com/Namyalg.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Upload-to-S3-from-React\n\nAn easy to guide to setup an AWS S3 bucket and upload files to it from a React frontend\n\nSteps to follow\n\n1. Create the AWS S3 bucket as mentioned [here](https://medium.com/p/fbd8f0b26f5/)\n2. Clone this repository\n3. Run `npm install`\n\n   The `react-aws-s3` package, has been used to facilitate the file uploads to th S3 bucket\n4. Create a `.env` file at the root of the repository and add the details in the following format\n\n    ```\n    REACT_APP_BUCKET_NAME=your-bucket-name\n    REACT_APP_REGION=add the location of your bucket (eg: us-west-2)\n    REACT_APP_ACCESS=got-from-the-security-credentials\n    REACT_APP_SECRET=got-from-the-security-credentials\n    ```\n5. Run `npm start` to start the server on `PORT 3000` \n\nOn uploading a file, it will get uploaded to the S3 bucket!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNamyalg%2FUpload-to-S3-from-React","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNamyalg%2FUpload-to-S3-from-React","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNamyalg%2FUpload-to-S3-from-React/lists"}