NodeJS backend for web-based chat application that features Catapult SMS and MMS capabilities.
Demos uses of the:
- Catapult Node SDK
- Creating Application
- Searching for Phone Number
- Ordering Phone Number
- Messaging REST Api Callbacks
# clone the app with submodules
git clone --recursive git@github.com:BandwidthExamples/node-web-sms-chat.git
# install dependencies
npm install
# run the app
cd ..
PORT=3000 npm start
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