Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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```