{"id":16188619,"url":"https://github.com/konsumer/aws-cognito-example","last_synced_at":"2025-10-05T12:09:43.389Z","repository":{"id":142067889,"uuid":"65331037","full_name":"konsumer/aws-cognito-example","owner":"konsumer","description":"Basic usage of amazon-cognito-identity with modern javascript tooling","archived":false,"fork":false,"pushed_at":"2017-06-08T19:13:05.000Z","size":25,"stargazers_count":29,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T14:56:38.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/konsumer.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":"2016-08-09T21:57:50.000Z","updated_at":"2022-06-05T21:11:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"88b51a19-3905-4724-a531-49ee5108e814","html_url":"https://github.com/konsumer/aws-cognito-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Faws-cognito-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Faws-cognito-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Faws-cognito-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Faws-cognito-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konsumer","download_url":"https://codeload.github.com/konsumer/aws-cognito-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243965768,"owners_count":20375916,"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-10-10T07:28:36.686Z","updated_at":"2025-10-05T12:09:43.290Z","avatar_url":"https://github.com/konsumer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-cognito-example\n\nBasic usage of [amazon-cognito-identity](https://github.com/aws/amazon-cognito-identity-js) with modern javascript tooling, react, and the npm ecosystem.\n\nYou can use it as a boilerplate for your next kickass AWS-based ES6 serverless react/redux site.\n\n\n## getting started\n\n* configure\n* `npm install` to install dependencies\n* `npm start` to start a development webserver\n* `npm run build` to create an optimized static site, ready for deployment, in `webroot/`.\n\n\n## configuration\n\nMake a `.env` file that looks like this:\n\n```\nAWS_REGION=us-west-2\nAWS_IDENTITYPOOL=us-west-2_BADWOLFBADWOLF\nAWS_CLIENTAPP=badwolfbadwolfbadwolfbadwo\n```\n\n1. Create an app for your user pool. Note that the generate client secret box must be **unchecked** because the JavaScript SDK doesn't support apps that have a client secret.\n2. Set the above variables from your AWS console, under Cognito User Pools, replacing the Doctor Who reference with your own stuff.\n3. Install all the dependencies with `npm install`\n4. Run the app with `npm start`, and click the links.\n5. Once you get your app working the way you want, run `npm run build` and deploy the `webroot/` folder on any static webhost (like S3 or whatever.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Faws-cognito-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonsumer%2Faws-cognito-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Faws-cognito-example/lists"}