Use Twilio to accept SMS messages and turn them into queries against a SQLite database. These are example functions of an Employee Directory where a mobile phone user can send a text message with a partial string of a person's name and it will return their picture and contact information (e-mail address and phone number).
This project is built using Sinatra Framework.
-
First clone this repository and
cd
into it.$ git clone git@github.com:TwilioDevEd/employee-directory-sinatra.git $ cd employee-directory-sinatra
-
Install the dependencies.
$ bundle install
-
Make sure the tests succeed.
$ bundle exec rspec
-
Start the server.
$ bundle exec rackup
-
Check it out at http://localhost:9292.
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.