The project is built on top of Serverless Framework and Pluggy.
This project is a 2 minute setup to quickly start using Pluggy on your AWS environment.
Before you can deploy this project's infrastructure you will need to setup an AWS account on your environment. For more information on how to configure you IAM Credentials visit SST IAM Setup.
npm install
npm start
Setup your .env
with your AWS credentials & your Pluggy Client ID and Secret, before running npm start
or npm deploy
.
With the created resources you can already start using Pluggy's widget on your website.
In the following image the high-level architecture of the project is shown.
The following resources are implemented:
- DynamoDB: DynamoDB Stores the items created on Pluggy to recover by it's id.
- Labda: Lambda
- Notification: Process webhooks from Pluggy Pluggy
- Connect Token: Recovers a connect token to inializate a Widget instance.
Starts the local Lambda development environment.
Build your app and synthesize your stacks.
Generates a .build/
directory with the compiled files and a .build/cdk.out/
directory with the synthesized CloudFormation stacks.
Deploy all your stacks to AWS. Or optionally deploy a specific stack.
Remove all your stacks and all of their resources from AWS. Or optionally remove a specific stack.
Runs your tests using Jest. Takes all the Jest CLI options.