Giter Site home page Giter Site logo

connie-rtc's Introduction

Connie-RTC

Phase 1 of the Connie CPaaS Prototype

Login Info

Login with your Okta credentials (message Cameron if you have trouble logging in)

Your user type is set inside of the Okta Admin (Message Cameron if you want your role changed for dev purposes)

Local setup instructions

  1. Fork this repo
  2. Clone your forked repo to your local machine
  3. Install packages and dependencies: yarn --frozen-lockfile
  4. Create a .env file in the root directory and fill in the below variables:
NEXT_PUBLIC_URL="http://localhost:3000"
APP_URL="http://localhost:3000"

# Found at https://console.twilio.com/us1/account/keys-credentials/api-keys under "Live credentials"
TWILIO_ACCOUNT_SID="Enter your twilio account sid here"
TWILIO_AUTH_TOKEN="Enter your twilio auth token here"

# Found at https://console.twilio.com/us1/account/keys-credentials/api-keys under "API keys" as SID
# Create an API key if one doesn't exist. More instructions at https://www.twilio.com/docs/glossary/what-is-an-api-key
TWILIO_API_KEY="Enter your twilio api key here"
# When you create the API key, you’ll be shown its secret, which is the variable below
# For security, you will only be shown the secret at this time so store it in a secure location
TWILIO_API_SECRET="Enter your twilio api secret here"

# Found at https://www.twilio.com/console/sync/services
TWILIO_SYNC_SERVICE_SID="Enter your twilio sync service sid here"

NEXT_PUBLIC_URL="http://localhost:3000"
NEXTAUTH_URL="http://localhost:3000"

NEXT_PUBLIC_WORKSPACE_SID="Your workspace sid"

NEXT_PUBLIC_OKTA_URL='https://trial-2094636.okta.com'

# Slack message Cameron For the following:
NEXT_PUBLIC_TOKEN=""
OKTA_OAUTH2_ISSUER=""
OKTA_OAUTH2_CLIENT_ID=""
OKTA_OAUTH2_CLIENT_SECRET=""
SECRET=""
  1. Start the development server: npm run dev
  2. Run ngrok http 3000 to expose your local server to the internet
  3. Copy the ngrok's forwarding URL, which looks like this https://<random-string>.ngrok-free.app
  4. Go to the Twilio console > TaskRouter Workspaces > select the workspace you want to use > Settings
  5. Paste the ngrok URL into the Assignment Callback URL field, append /api/queuesStats to the end of the URL, and click Save

connie-rtc's People

Contributors

cam-obrien avatar chrisberno avatar elliecopps avatar jinl33 avatar nikki2906 avatar qu8n avatar thesaramaral avatar zzranger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.