Skip to content

serkanh/react-cognito-starter

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Serverless/Cognito/React starter.

This is a starter app that allows one to quickly get up and running with a simple authentication system on top AWS cognito,AWS amplify, serverless framework and React.

  1. Execute serverless deploy -v which will produce output of several params that will be required for AWS amplify based react app to authenticate against the cognito.
CloudFormation - UPDATE_COMPLETE - AWS::CloudFormation::Stack - react-cognito-starter-dev
Serverless: Stack update finished...
Serverless: Invoke aws:info
Service Information
service: react-cognito-starter
stage: dev
region: us-east-1
stack: react-cognito-starter-dev
api keys:
  None
endpoints:
  None
functions:
  hello: react-cognito-starter-dev-hello

Stack Outputs
UserPoolClientId: 3eemob###############
UserPoolId: us-east-1_3##########
IdentityPoolId: us-east-1:f7a5b064-####################
HelloLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:988996789928:function:react-cognito-starter-dev-hello:1
ServerlessDeploymentBucketName: react-cognito-starter-de-serverlessdeploymentbuck-###########
  1. Simply copy the outputted values for UserPool and IdentityPool to corresponding file located at client/src/config.js
  2. Start the client app cd client && npm start
  3. Sign up your user at localhost:3000/signup
  4. Check your email that is used during the signup for verification code.
  5. Enter the confirmation code.

To get the cognito output

sls info --stage=dev -v or with aws profile sls info --stage=dev --aws-profile=HA -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published