This is the web application that is served on trash.fjordcleanup.org.
The backend source can be found in trash
Install the dependencies:
npm ciCOGNITO_USER_POOL_URLCOGNITO_IDENTITY_POOL_IDCOGNITO_USER_POOL_CLIENT_IDAWS_REGION
The production values can be seen in the
production environment on GitHub.
npm startCreate a GitHub environment production.
Store the account ID as a variable:
gh secret set ACCOUNT_ID --env production --body "<account id>"Provide these environment variables from the backend:
-
For the stack
STACK_PREFIX(e.g.fjordcleanup-trash)AWS_REGION(e.g.eu-north-1)
-
For Cognito
COGNITO_USER_POOL_CLIENT_IDCOGNITO_USER_POOL_URLCOGNITO_IDENTITY_POOL_ID
gh variable set "<name>" --env production --body "<value>"