Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

TwilioDevEd/employee-directory-sinatra

Repository files navigation

Twilio

Employee Directory with Sinatra

Build Status

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).

Local Development

This project is built using Sinatra Framework.

  1. First clone this repository and cd into it.

    $ git clone git@github.com:TwilioDevEd/employee-directory-sinatra.git
    $ cd employee-directory-sinatra
  2. Install the dependencies.

    $ bundle install
  3. Make sure the tests succeed.

    $ bundle exec rspec
  4. Start the server.

    $ bundle exec rackup
  5. Check it out at http://localhost:9292.

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.