# How to deploy?
cd backend/
yarn install
yarn build
with following values (fill empty ones):
environment = "production"
aws_region = "us-east-1"
aws_account_identifier = ""
public_domain = ""
cd infrastructure/
terraform validate
terraform plan
terraform apply
Update the the frontend environement configurations file frontend/src/environments/environment.prod.ts
with the terraform output:
region
userPoolId
userPoolWebClientId
Then build it:
cd frontend/
yarn install
yarn build
You can depoloy the content of frontend/dist/cognito-email-auth-client/
as a PWA