twilio-chat-demo-js

0.11.0 • Public • Published

twilio-chat-demo-js

Running the demo

Set credentials
  1. Copy credentials.example.json to credentials.json
  2. Plug your credentials into credentials.json
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>

Readme

Keywords

none

Package Sidebar

Install

npm i twilio-chat-demo-js

Weekly Downloads

3

Version

0.11.0

License

ISC

Last publish

Collaborators

  • imobdev