Code Monkey home page Code Monkey logo

aws-sns-sms-with-nodejs's Introduction

AWS-SNS-SMS with NodeJS

A quick example of sending an SMS with AWS SNS and NodeJS

Download this repository

git clone https://github.com/Sean-Bradley/AWS-SNS-SMS-with-NodeJS.git

$ cd AWS-SNS-SMS-with-NodeJS

$ npm install

Create a specific AWS IAM user and add to group 'AmazonSNSFullAccess'

Rename the .env.example file to .env and enter your correct AWS access key, secret and region.

$ npm start

Open browser and visit something like,

http://localhost:3000/?message=[The Message]&number=[The Number]&subject=[The Subject]

The mobile number should be E.164 format but without the + character.

eg,

You want to send a message to a number,

The country code is 44

The mobile number is (0)7700 900123

The E.164 format would be +447700900123

Remove the + character

Then Visit

http://localhost:3000/?message=my message&number=447700900123&subject=My Subject

Video Tutorial how to install and setup the SMS API

Create an SMS API in 5 minutes with AWS SNS and NodeJS

aws-sns-sms-with-nodejs's People

Contributors

sean-bradley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.