- Node.js (version 6 or higher)
- A Twilio account with a verified phone number. (Get a free account here.) If you are using a Twilio Trial Account, you can learn all about it here.
-
First clone this repository and
cd
into it.$ git clone [email protected]:TwilioDevEd/browser-dialer-vue.git $ cd browser-dialer-vue
-
Copy the sample configuration file and edit it to match your configuration.
$ cp .env.example .env
You can find your TWILIO_ACCOUNT_SID
and TWILIO_AUTH_TOKEN
in your
Twilio Account Settings.
You will also need a TWILIO_NUMBER
, which you may find here, and you may find your TWILIO_TWIML_APP_SID
here.
- Install dependencies.
$ npm install
- Run the application.
$ npm start
-
Expose the application to the wider Internet using ngrok.
$ ngrok http 3000
Once you have started ngrok, update your App voice URL setting to use your ngrok hostname. It will look something like this:
http://<your-ngrok-subdomain>/voice
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.