Table of Contents
This application is using API configured by cognito-user-manager-backend project.
Be sure to deploy API before running this application.
-
IAM user
-
yarn
-
node
Policy summary
{ "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": [ "cloudwatch:*", "s3:*", "logs:*", "lambda:*", "dynamodb:*", "events:*", "cloudformation:*", "cognito-idp:*", "cognito-sync:*", "cognito-identity:*", "tag:GetResources", "iam:*" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "execute-api:Invoke" ], "Resource": "arn:aws:execute-api:*:*:*" }, { "Effect": "Allow", "Action": [ "apigateway:*" ], "Resource": "arn:aws:apigateway:*::/*" } ] }
-
Clone this repo
-
Run
yarn
-
Change bucket name
appName: <your-unique-app-name>
inserverless.yml
-
Run
sls deploy
-
Run
sls export-env
-
Run
sls client deploy --no-confirm
By default it will create a stack in eu-central-1
region with dev
stage.