node-appointment-reminder

by BandwidthExamples

GitHub Readme.md

Appointment Reminder Node Example

Bandwidth Voice API Sample App for Call Tracking, see http://ap.bandwidth.com/

Deploy

Build Status

Prerequisites

Build and Deploy

One Click Deploy

Settings Required To Run

  • Bandwidth User Id
  • Bandwidth Api Token
  • Bandwidth Api Secret

Deploy

Run

Directly

cd AppointmentReminder

export BANDWIDTH_USER_ID=<YOUR-USER-ID>
export BANDWIDTH_API_TOKEN=<YOUR-API-TOKEN>
export BANDWIDTH_API_SECRET=<YOUR-API-SECRET>
npm install # to install dependencies

npm start # to start web app

# in another terminal
npm run scheduler # to start scheduler

# then open external access to this app (for example via ngrok)
# ngrok http 8080

# Open in browser url shown by ngrok

Via Docker

# fill .env file with right values
# vim ./.env

# then run the app (it will listen port 8080)
PORT=8080 docker-compose up -d

# open external access to this app (for example via ngrok)
# ngrok http 8080

# Open in browser url shown by ngrok