Skip to content

shavez00/twilioTalks-SEA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Demonstration of the Twilio SMS services using Node.js, MySQL, and the Twilio Programmable SMS API.

This is a Node.js program to demonstrate the Twilio Programmable SMS API by sending SMS messages to survey participants. Participants get questions and respond to answers. Answers are saved into a MySQL database. A winner of the contest is determined by who answers the most number of questions correctly.

Getting Started

Step 1. Install Node.js.
Step 2. Install MySQL.
Step 3. Install Express.
Step 4. Install Twilio helper libraries.
Step 5. Install the MySQL node Module.
Step 6. Input your twilio phone in the config file as the "from" number.
Step 7. Run the Node.js program with the commands "node questions.js".

Running the demonstration

Using the demonstration is very straightforward. Display your Twilio phone number and request participants to text the number. The Node.js program will respond to the text with questions and will accept their responses to the questions and compare them to a list of acceptable answers and log which ones the participants gets correct.

Prerequisites

A Twilio account
A Twilio phone number
Node.js
MySQL

Authors

  • Mark Shavers - Initial work - shavez00

About

Demonstration of Twilio Programmable SMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published