{"id":13880955,"url":"https://github.com/full-stack-serverless/cdk-authentication","last_synced_at":"2025-07-16T17:31:30.912Z","repository":{"id":123926259,"uuid":"287639384","full_name":"full-stack-serverless/cdk-authentication","owner":"full-stack-serverless","description":"Authentication back end built with CDK and Amazon Cognito","archived":false,"fork":false,"pushed_at":"2020-08-14T23:06:12.000Z","size":194,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-24T10:34:27.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/full-stack-serverless.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}},"created_at":"2020-08-14T23:00:43.000Z","updated_at":"2022-04-06T08:37:44.000Z","dependencies_parsed_at":"2024-01-16T12:02:37.586Z","dependency_job_id":null,"html_url":"https://github.com/full-stack-serverless/cdk-authentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/full-stack-serverless/cdk-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/full-stack-serverless%2Fcdk-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/full-stack-serverless%2Fcdk-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/full-stack-serverless%2Fcdk-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/full-stack-serverless%2Fcdk-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/full-stack-serverless","download_url":"https://codeload.github.com/full-stack-serverless/cdk-authentication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/full-stack-serverless%2Fcdk-authentication/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265527549,"owners_count":23782480,"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-06T08:03:41.996Z","updated_at":"2025-07-16T17:31:30.321Z","avatar_url":"https://github.com/full-stack-serverless.png","language":"TypeScript","readme":"![](header.jpg)\n\n## CDK Authentication\n\nThis CDK project deploys an Amazon Cognito User Pool configured to create the infrasstructure for a basic application for user authentication. It is paired with a React front-end for a full-stack serverless project.\n\n### Deploying the back end\n\n1. Clone the repo\n\n```sh\ngit clone git@github.com:full-stack-serverless/cdk-authentication.git\n```\n\n2. Change into the `cdk-authentication` directory\n\n3. Install dependencies in main folder:\n\n```sh\nnpm install\n\n# or\n\nyarn\n```\n\n3. Deploy to AWS\n\n```sh\ncdk deploy\n```\n\nOnce the project has been deployed, you'll be given the resources needed to configure the client-side React application.\n\n```sh\nOutputs:\nCdkAppsyncChatStack.UserPoolClientId = your_userpool_client_id\nCdkAppsyncChatStack.UserPoolId = us-east-1_your_userpool_id\n  ```\n\n### Deploying the front end\n\n1. Clone the client application\n\n```sh\ngit clone https://github.com/full-stack-serverless/react-custom-authentication-aws.git\n```\n\n3. Change into the client directory and install dependencies:\n\n```sh\ncd react-custom-authentication-aws\n\nnpm install\n\n# or\n\nyarn\n```\n\n4. Open __src/aws-exports-example.js__ and update with the outputs from CDK.\n\n5. Rename __aws-exports-example.js__ to __aws-exports.js__.\n\n5. Run the app\n\n```sh\nnpm start\n```","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffull-stack-serverless%2Fcdk-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffull-stack-serverless%2Fcdk-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffull-stack-serverless%2Fcdk-authentication/lists"}