TelAPI SMS Subscription Starter Kit
What is it?
The TelAPI SMS Subscription Starter Kit is a Ruby on Rails application that expedites the process of creating an SMS subscription service. A developer simply needs to clone this repo and follow the directions below. You’ll have a working SMS subscription service up and running in no time :)
How It Works
- Head over to TelAPI and signup for a TelAPI account: http://www.telapi.com
- Purchase a TelAPI phone number through the TelAPI dashboard
- Configure your TelAPI number’s SMS Request URL to point to the following: http://yourserversdomain.com/sms/index
- Clone this repo
git clone git@github.com:dougiebuckets/TelAPI-SMS-Subscription-Starter-Kit.git
- Open the SMS controller in app/controllers
- Replace the ‘telapinumber’ variable with your recently purchased TelAPI number “` telapinumber = ”+15555555555" “`
- Push this code to your server
- Perform a migration to create the user’s table on your server. The user’s table has a ‘numbers’ column where your subscriber’s phone numbers will be stored. Additional migrations can be used to add new columns for other user attributes.
rake db:migrate
- Have a beer and celebrate