Browser notification using AWS SNS

user3541485 picture user3541485 · Apr 11, 2018 · Viewed 10.3k times · Source

I am new to Amazon services. I already used FIREBASE and PUBNUB for browser notification in other applications. I would like to build browser notification like FIREBASE or PUBNUB using AWS SNS.

For web application front end I am using ReactJs and back-end Nodejs lambda functions.

Is it possible to use SNS for Browser or Web application Notification? Please advice.

Thanks

Answer

Ashan picture Ashan · Apr 11, 2018

You can use AWS IOT Websockets or AWS AppSync for This. Following articles will give you an overview of using these technologies.

Out of AWS AppSync and AWS IOT, I would recommend AppSync due to its support for JavaScript Frameworks.

Note: However, with AWS SNS, this is not possible in browsers (But possible for mobile applications with Push Notifications).