Skip to content

mkausas/SMSTerminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Install ngrok brew install ngrok OR https://ngrok.com/download

Run ngrok ngrok http 3000

Go to URL https://www.twilio.com/user/account/voice/dev-tools/twiml-apps/add and set Messaging Request URL to https://DOMAIN-CODE.ngrok.io/twmil

Go to URL https://www.twilio.com/user/account/phone-numbers/incoming, then select phone number, configure messaging with TwiML app, and set to recently created TwiML app

Create ./keys.json with live account sid and live auth token from https://www.twilio.com/user/account/settings

{
  "accountSid": "LIVE_ACCOUNT_SID",
  "authToken": "LIVE_AUTH_TOKEN",
  "twmilUrl": "https://DOMAIN-CODE.ngrok.io/twmil",
  "databaseUri": "mongodb://localhost:27017/test_db_name",
  "master": "+1masterPhoneNumber",
  "user": "+1userPhoneNumber"
}

Install node modules npm install

Start server node app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published