Skip to content

AWS backend for an application to report and view trash in the Oslo fjord and in Akerselva.

License

Notifications You must be signed in to change notification settings

fjordcleanup/trash

Repository files navigation

Fjord CleanUP · Report and view trash in the Oslo fjord and in Akerselva.

GitHub Actions semantic-release Renovate @commitlint/config-conventional code style: prettier ESLint: TypeScript

Setup

Install the dependencies:

npm ci

Run

npm start

Deploy

  • If deploying the production stack: ensure that a hosted zone in Route53 exists for the base domain name.
  • Deploy the image-magick-lambda-layer
npm run cdk:bootstrap
npm run cdk:prod:deploy

Continuous Deployment with GitHub Actions

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:

  • For the stack

    • STACK_PREFIX (e.g. fjordcleanup-trash)
    • AWS_REGION (e.g. eu-north-1)
    • BASE_DOMAIN_NAME (e.g. fjordcleanup.org)
  • For the map resources (e.g. using https://github.com/hello-nrfcloud/aws-map)

    • MAP_API_KEY
  • For Cognito

    • COGNITO_USER_POOL_CLIENT_ID
    • COGNITO_USER_POOL_URL
    • COGNITO_IDENTITY_POOL_ID
gh variable set <STACK_PREFIX> --env production --body "<value>"

About

AWS backend for an application to report and view trash in the Oslo fjord and in Akerselva.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •