From fec8e6861125fdaff4afe63f146cad89b71fcff3 Mon Sep 17 00:00:00 2001 From: this-way-up Date: Wed, 23 Dec 2020 06:32:32 -0700 Subject: [PATCH 1/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df5705ff7c..7401e441fd 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Create-react-app with AWS Amplify Auth +# Create-react-app with AWS Amplify Auth - DK This auth starter implements withAuthenticator HOC to provide a basic authentication flow for signing up signing in users as well as protected client side routing using AWS Amplify. Auth features: User sign up, User sign in, Multi-factor Authentication, User sign-out. From c4b98026fccab5dd34b016f9417a95b7f044fb0d Mon Sep 17 00:00:00 2001 From: this-way-up Date: Wed, 23 Dec 2020 06:37:32 -0700 Subject: [PATCH 2/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7401e441fd..c5a97d3263 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Create-react-app with AWS Amplify Auth - DK +# Create-react-app with AWS Amplify Auth - latest This auth starter implements withAuthenticator HOC to provide a basic authentication flow for signing up signing in users as well as protected client side routing using AWS Amplify. Auth features: User sign up, User sign in, Multi-factor Authentication, User sign-out. From 4e5cc45db75d67cc9c2c51f6461dac24897c3103 Mon Sep 17 00:00:00 2001 From: This-way-up Date: Wed, 23 Dec 2020 06:14:09 -0800 Subject: [PATCH 3/5] Update App.js --- src/App.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/App.js b/src/App.js index 353a862f79..de080fd62a 100755 --- a/src/App.js +++ b/src/App.js @@ -10,19 +10,8 @@ class App extends Component { render() { return (
-
+
logo -

- Edit src/App.js and save to reload. -

- - Learn React -
); From a6b362ef728ce7dabf85f106515dc31b1233a85e Mon Sep 17 00:00:00 2001 From: This-way-up Date: Wed, 23 Dec 2020 12:40:04 -0800 Subject: [PATCH 4/5] push push --- .vscode/settings.json | 11 +++++++ amplify/.config/project-config.json | 30 +++++++++---------- ...ognitocf0c6096-cloudformation-template.yml | 2 +- amplify/team-provider-info.json | 20 +++++++++++++ src/App.css | 15 ++-------- src/App.js | 2 +- 6 files changed, 50 insertions(+), 30 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 amplify/team-provider-info.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..c87b85ede7 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "files.exclude": { + "amplify/.config": true, + "amplify/**/*-parameters.json": true, + "amplify/**/amplify.state": true, + "amplify/**/transform.conf.json": true, + "amplify/#current-cloud-backend": true, + "amplify/backend/amplify-meta.json": true, + "amplify/backend/awscloudformation": true + } +} \ No newline at end of file diff --git a/amplify/.config/project-config.json b/amplify/.config/project-config.json index bafe837409..85b4c54092 100755 --- a/amplify/.config/project-config.json +++ b/amplify/.config/project-config.json @@ -1,17 +1,17 @@ { - "projectName": "authcra", - "version": "1.0", - "frontend": "javascript", - "javascript": { - "framework": "react", - "config": { - "SourceDir": "src", - "DistributionDir": "build", - "BuildCommand": "npm run-script build", - "StartCommand": "npm run-script start" - } - }, - "providers": [ - "awscloudformation" - ] + "projectName": "authcra", + "version": "3.0", + "frontend": "javascript", + "javascript": { + "framework": "react", + "config": { + "SourceDir": "src", + "DistributionDir": "build", + "BuildCommand": "npm run-script build", + "StartCommand": "npm run-script start" + } + }, + "providers": [ + "awscloudformation" + ] } \ No newline at end of file diff --git a/amplify/backend/auth/cognitocf0c6096/cognitocf0c6096-cloudformation-template.yml b/amplify/backend/auth/cognitocf0c6096/cognitocf0c6096-cloudformation-template.yml index 4cfeebbb61..4ff768d31e 100755 --- a/amplify/backend/auth/cognitocf0c6096/cognitocf0c6096-cloudformation-template.yml +++ b/amplify/backend/auth/cognitocf0c6096/cognitocf0c6096-cloudformation-template.yml @@ -263,7 +263,7 @@ Resources: - ' }' - '};' Handler: index.handler - Runtime: nodejs8.10 + Runtime: nodejs10.x Timeout: '300' Role: !GetAtt - UserPoolClientRole diff --git a/amplify/team-provider-info.json b/amplify/team-provider-info.json new file mode 100644 index 0000000000..e05da64922 --- /dev/null +++ b/amplify/team-provider-info.json @@ -0,0 +1,20 @@ +{ + "dev": { + "awscloudformation": { + "AuthRoleName": "amplify-authcra-dev-122640-authRole", + "UnauthRoleArn": "arn:aws:iam::457225119127:role/amplify-authcra-dev-122640-unauthRole", + "AuthRoleArn": "arn:aws:iam::457225119127:role/amplify-authcra-dev-122640-authRole", + "Region": "us-east-1", + "DeploymentBucketName": "amplify-authcra-dev-122640-deployment", + "UnauthRoleName": "amplify-authcra-dev-122640-unauthRole", + "StackName": "amplify-authcra-dev-122640", + "StackId": "arn:aws:cloudformation:us-east-1:457225119127:stack/amplify-authcra-dev-122640/2be49d90-455d-11eb-b1b1-0afbd365c3b9", + "AmplifyAppId": "d3onfcoqcuz778" + }, + "categories": { + "auth": { + "cognitocf0c6096": {} + } + } + } +} \ No newline at end of file diff --git a/src/App.css b/src/App.css index 92f956e804..a674ff03fd 100755 --- a/src/App.css +++ b/src/App.css @@ -2,13 +2,9 @@ text-align: center; } -.App-logo { - animation: App-logo-spin infinite 20s linear; - height: 40vmin; -} .App-header { - background-color: #282c34; + background-color: #ffffff; min-height: 100vh; display: flex; flex-direction: column; @@ -22,11 +18,4 @@ color: #61dafb; } -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} + diff --git a/src/App.js b/src/App.js index de080fd62a..49f46da23e 100755 --- a/src/App.js +++ b/src/App.js @@ -10,7 +10,7 @@ class App extends Component { render() { return (
-
+
logo
From 44c1355a0fa4d031663aa46c8add8eda55f2438c Mon Sep 17 00:00:00 2001 From: This-way-up Date: Wed, 23 Dec 2020 12:48:08 -0800 Subject: [PATCH 5/5] Update App.css --- src/App.css | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/App.css b/src/App.css index 92f956e804..84c3eb6bc1 100755 --- a/src/App.css +++ b/src/App.css @@ -2,13 +2,10 @@ text-align: center; } -.App-logo { - animation: App-logo-spin infinite 20s linear; - height: 40vmin; -} + .App-header { - background-color: #282c34; + background-color: #ffffff; min-height: 100vh; display: flex; flex-direction: column; @@ -22,11 +19,4 @@ color: #61dafb; } -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} +