A simple web app that sends SMS messages using Node.js, Express, and Nexmo SMS API. I also used W3C Web Notifications API for the front-end UI to display the SMS delivery confirmation messages via Socket.io.
$ npm install
Sign up at Nexmo to get your own API keys and a virtual number.
Create config.js
in /server
. The file should include the credentials.
module.exports = {
api_key: 'f321a...',
api_secret: '18e9aad...',
number: '14155551234'
};
$ node server/index.js
Go to http://localhost:4420 and send text messages.