Sending SMS from Web

This is a simple web app written in Node.js with Express. Additionally, I am using W3C Web Notifications API for the front-end UI to show the SMS receipt message with Socket.io.

Running This Demo Locally on Your Machine

1. Install dependencies

$ npm install

2. Set up a config.js with Your Credentials

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'
};

3. Run the Node App

$ node server/index.js

4. Launch it on Browser

Go to http://localhost:4000 and send text messages.