Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salmandabbakuti/aws-sns-essentials
AWS SNS&SQS Setup and workaround repository
https://github.com/salmandabbakuti/aws-sns-essentials
aws aws-sdk aws-sqs notifications pubsub sns sns-client sns-topic sqs sqs-client topic
Last synced: 18 days ago
JSON representation
AWS SNS&SQS Setup and workaround repository
- Host: GitHub
- URL: https://github.com/salmandabbakuti/aws-sns-essentials
- Owner: Salmandabbakuti
- License: apache-2.0
- Created: 2020-05-25T13:26:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-16T22:18:05.000Z (about 3 years ago)
- Last Synced: 2024-11-09T09:12:28.110Z (2 months ago)
- Topics: aws, aws-sdk, aws-sqs, notifications, pubsub, sns, sns-client, sns-topic, sqs, sqs-client, topic
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-sns-essentials
AWS SNS Setup and workaround Repository##### Pre-requisites:
1. Create a Topic
> Update ```config.json``` according to your AWS Credentials
```
node createTopic.js
```
2. Add Subscribers in created Topic- Update ```TopicArn``` in ```config.json``` according to your created AWS SNS service Topic.
```
node createSubscription.js #creates subscription in defined topicARN from config.json
```
3. Confirm subscription in recieved email##### Quick Demo(Publishing):
```
git clone https://github.com/Salmandabbakuti/aws-sns-essentials.git
cd aws-sns-essentials
npm i
//update config.json in directory.
node publish.js #Main pub/sub service model -Email Subscriptions(OR)
cd mobile
//update .env in directory.
npm i
node app.js #mobile notification service irrespective of topic```
##### HTTP(S) Endpoint Subscriptions:
>Created Rest Server for subscriptions and Publishing. Checkout instructions in folder ```http/README.md```