This is the web application that is served on trash.fjordcleanup.org.
The backend source can be found in trash
Install the dependencies:
npm ci
COGNITO_USER_POOL_URL
COGNITO_IDENTITY_POOL_ID
COGNITO_USER_POOL_CLIENT_ID
AWS_REGION
The production values can be seen in the
production
environment on GitHub.
npm start
Create 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_ID
COGNITO_USER_POOL_URL
COGNITO_IDENTITY_POOL_ID
gh variable set "<name>" --env production --body "<value>"