An AWS Lambda function that POSTs Dwolla webhook
Events to partner APIs and sends the result to SQS. If the API doesn't return as expected, the
Event is requeued and retried via our backoff schedule. For details, see the GitPitch deck.
- Clone the repository and run
- Ensure your AWS credentials are available
- Deploy with
ENVIRONMENT=your-env DEPLOYMENT_BUCKET=your-bucket npm run deploy
ERROR_QUEUE_URLwith the queue URLs created in AWS.
- Run tests,
- Invoke locally by editing
genEvent.tsto your liking, running
npm run start, and browsing to the localhost port logged.