Ruby backend for web-based chat application that features Catapult SMS and MMS capabilities.
Demos uses of the:
- Catapult Ruby SDK
- Creating Application
- Searching for Phone Number
- Ordering Phone Number
- Messaging REST Api Callbacks
# clone the app with submodules
git clone git@github.com:BandwidthExamples/ruby-web-sms-chat.git
# install dependencies
bundle install
# prepare frontend
bundle exec rake
# run the app
bundle exec puma -p 3000
Run in another terminal
ngrok http 3000 #to make ngrok to open external access to localhost:3000 Open in browser your external url (it will be shown by ngrok).
Create account on Heroku and install Heroku Toolbel if need.
Run heroku create to create new app on Heroku and link it with current project.
Run git push heroku master to deploy this project.
Run heroku open to see home page of the app in the browser
