issues-api-lambda
local testing
how to run
yarn
yarn build
yarn sam-local
what you'll need
You'll need these variables in your local environment (you'll need to get some of the values from the SSM parameter store):
export DB_NAME=/rds/pg/db-name
export DB_USERNAME=/rds/pg/user/query/name
export DB_PASSWORD=/rds/pg/user/query/password
export DB_HOST=/rds/pg/read/host
export DB_PORT=5432
export SALESFORCE_USER=/credentials/salesforce/user
export SALESFORCE_PASSWORD=/credentials/salesforce/password
export SALESFORCE_SECURITY_TOKEN=/credentials/salesforce/token