Later versions of cognicity-server handle notifications internally.
This service listens in on Postgres notifications and pushes confirmation response to SNS topics based on Source network type
npm install
node app.js
Save a copy of sample.env as .env in local directory with appropriate credentials
MAP
: Riskmap's Map URLACCOUNTID
: AWS Account IDAWS_REGION
: AWS Region where SNS topics were createdPG_CON
: Postgres database connection string
- AWS credentials are stored in bash_profile
- Grasp "username" is userID/senderID from source networks to allow replies in conversation
- Errors are logged to console, but not returned to user currently