aws-sns-essentials
AWS SNS Setup and workaround Repository
Pre-requisites:
- Create a Topic
node createTopic.js
- Add Subscribers in created Topic
- Update
config.json
according to your created AWS SNS service
node createSubscription.js #creates subscription in defined topicARN from config.json
Quick Demo(Publishing):
git clone https://github.com/Salmandabbakuti/aws-sns-essentials.git
cd aws-sns-essentials
npm i
node publish.js #Main pub/sub service model -Email Subscriptions
(OR)
cd mobile
//update config.json in directory.
npm i
node app.js #mobile notification service irrespective of topic