The goal of this project is to help testing AWS SNS service.
It will create a subscription on the chosen topic and display the messages received on terminal.
Since it uses ngrok, you can access it's UI and inspect the incoming requests.
npm install
-
make a copy of config/config.tpl.js and rename it to config.js
cp config/config.tpl.js config.js
-
Edit the created file and enter the appropriate information on AWS and SNS keys.
Just type:
npm start
Press CTRL + C to gracefully stop the program. This way the subscription is cleanup from SNS.
You can pass more options to SNS and ngrok, by declaring them on config.js.