- Deploy the CloudFormation stack, here
YOUR_STACK
is the stack's name.
aws cloudformation deploy --template-file cf.yml --stack-name YOUR_STACK --capabilities CAPABILITY_IAM
-
Go to the AWS Console and setup a domain for the hosted UI.
-
Configure the app variables on
.env
with the CloudFormation's output.
aws cloudformation describe-stacks --stack-name YOUR_STACK
- Create a test user
aws cognito-idp sign-up \
--region YOUR_COGNITO_REGION \
--client-id YOUR_COGNITO_APP_CLIENT_ID \
--username [email protected] \
--password Passw0rd!
- Validate test user
aws cognito-idp admin-confirm-sign-up \
--region YOUR_COGNITO_REGION \
--user-pool-id YOUR_COGNITO_USER_POOL_ID \
--username [email protected]
- Install dependencies
yarn
- Run the app.
yarn start
- Sign in with Cognito!