Skip to content

Connecty Cube JS Chatting and Sinch Video Calling bundle

Notifications You must be signed in to change notification settings

ahmedbaig/JS-Chat-VideoCall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat code sample for Browser for ConnectyCube platform

Project contains the following features implemented:

  • User authorization
  • Chat dialogs creation
  • 1-1 messaging
  • Group messaging
  • Sent/Delivered/Read statuses
  • ‘Is typing’ statuses
  • File attachments

Documentation

ConnectyCube JS SDK getting started - https://developers.connectycube.com/js

ConnectyCube Chat API documentation - https://developers.connectycube.com/js/messaging

Screenshots

TBA

Build your own Chat app

To make the sample works for your own app, please do the following:

  1. Register new account and application at https://admin.connectycube.com and then put Application credentials from 'Overview' page into config.js file:

    const CC_CREDENTIALS = {
        'appId': 0,
        'authKey': '',
        'authSecret': ''
    };
  2. At https://admin.connectycube.com, create some users in 'Users' module and put them into config.js file:

    const CC_USERS = [
        {
          id: 0,
          login: "",
          password: ""
        },
        {
          id: 1,
          login: "",
          password: ""
        },
    ];
  3. (Optional) If you are at Enterprise plan - provide your API server and Chat server endpoints at config.js file to point the sample against your own server:

    const CC_CONFIG = {
        endpoints: {
            api: "",
            chat: ""
        },
        ...
    };
  4. Run index.html and enjoy!

About

Connecty Cube JS Chatting and Sinch Video Calling bundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published