Skip to content

Latest commit

 

History

History

aws-sst

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Implementation of all resources in AWS

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.

Quick start

Prerequisites

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.

Running the example

npm install
npm start

Configuration

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.

Architecture

In the following image the high-level architecture of the project is shown.

Architecture

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.

Commands

npm run start

Starts the local Lambda development environment.

npm run build

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.

npm run deploy [stack]

Deploy all your stacks to AWS. Or optionally deploy a specific stack.

npm run remove [stack]

Remove all your stacks and all of their resources from AWS. Or optionally remove a specific stack.

npm run test

Runs your tests using Jest. Takes all the Jest CLI options.

Documentation