Skip to content

TwilioDevEd/ivr-phone-tree-node

Repository files navigation

Twilio

IVR Phone Tree: IVR for beginners. Powered by Twilio - Node.js/Express

Node.js CI

Create a seamless customer service experience by building an IVR Phone Tree for your company. IVR systems allow your customers to access the people and information they need.

Read the full tutorial here!

Local Development

This project is build using Express web framework and depends on MongoDB.

  1. First clone this repository and cd into it.

    git clone [email protected]:TwilioDevEd/ivr-phone-tree-node.git \
    cd ivr-phone-tree-node
  2. Install project's dependencies.

    npm install
  3. Make sure the tests succeed.

    npm test
  4. Start the development server.

    npm start

    Alternatively you might also consider using nodemon for this. It works just like the node command, but automatically restarts your application when you change any source code files.

    npm install -g nodemon \
    nodemon .
  5. Check it out at http://localhost:3000.

  6. Expose the application to the wider Internet using ngrok.

    ngrok http 3000
  7. Provision a number under the Twilio's Manage Numbers page on your account. Set the voice URL for the number to http://[your-ngrok-subdomain].ngrok.io/ivr/welcome

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.