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/README.md b/README.md index df5705ff7c..c5a97d3263 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 - 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. 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 353a862f79..49f46da23e 100755 --- a/src/App.js +++ b/src/App.js @@ -10,19 +10,8 @@ class App extends Component { render() { return (
- Edit src/App.js
and save to reload.
-