Important
This repo has been moved to Pocket's Monorepo
Receives FxA events as webhook requests and proxies the requests to the User Service through the Client API.
Service page (internal): FxA Webhook Proxy
Source: Miro
- the infrastructure code is present in
.aws
.docker
contains local setup.circleci
contains circleCI setupgateway_lambda
contains code for the lambda that listens for events from FxA and sends them to the SQS created in.aws/src/main.ts
sqs_lambda
contains code for the lambda that consumes messages from the SQS created in.aws/src/main.ts
As this repo consists of only two lambdas, there isn't much to run locally aside from tests.
First, install dependencies in all folders:
npm run setup
npm run test-spec
docker compose up
npm run test-functional