GithubHelp home page GithubHelp logo

anthonydelgado / twilio-chat-demo-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twilio/twilio-chat-demo-js

0.0 0.0 0.0 164 KB

Programmable Chat API Demo Application for JavaScript

License: BSD 3-Clause "New" or "Revised" License

JavaScript 67.51% CSS 22.55% HTML 9.94%

twilio-chat-demo-js's Introduction

twilio-chat-demo-js

Running the demo

Set credentials
  1. Copy credentials.example.json to credentials.json
  2. Plug your credentials into credentials.json

You can find the following credentials in your Twilio Console:

Config Value Description
accountSid Your primary Twilio account identifier - find this in the console here.
signingKeySid The SID for your API Key, used to authenticate - generate one here.
signingKeySecret The secret for your API Key, used to authenticate - you'll get this when you create your API key, as above.
serviceSid Like a database for your Chat data - generate one in the console here.
pushCredentialSid Credentials are records for push notification channels for APN and FCM - generate them in the console here and read more about configuring push here.
Install dependencies
$ npm install
Run server
$ npm start
Connect

Connect via http://localhost:8080

Using another version

This demo defaults to using the latest build of the Chat JS SDK. To change to a different version, just open public/index.html and change the following string to point to the URL of the version you'd like to use:

<script src="https://media.twiliocdn.com/sdk/js/chat/releases/0.11.1/twilio-chat.js"></script>

twilio-chat-demo-js's People

Contributors

aleksandrsivanovs avatar ddanila avatar eddiezane avatar philnash avatar pmala5 avatar rbeiter avatar ryan-rowland avatar satchkat 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.