Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 3.08 KB

README.md

File metadata and controls

53 lines (31 loc) · 3.08 KB

Sendbird JavaScript samples

Platform Languages npm

Introduction

Sendbird provides the chat API and SDK for your app, enabling real-time communication among the users. Here are various samples built using Sendbird Chat SDK.

  • Web chat sample is a Slack-like full screen chat sample for desktop browsers. Group channel and open channel are the two main channel types in which you can create various subtypes where users can send and receive messages. This sample is written in JavaScript with Sendbird Chat SDK.

  • Web widget sample is a Facebook-chat-like chat widget for websites.

  • Web live chat sample is a Twitch-chat-like chat sample for desktop browsers.

  • React native redux sample is a mobile chat sample for iOS and Android.

  • Web chat sample with SyncManager is a web chat sample integrated with SyncManager, which is equipped with a local cache along with core chat features. For faster data loading and caching, the sample synchronizes with the Sendbird server and saves a list of group channels and the messages within the local cache into your client app. This sample is written in JavaScript with Sendbird SyncManager and Sendbird Chat SDK. Find more about SyncManager on Sendbird SyncManager document.

The previous samples, react-native-sample and web-sample are deprecated. For current samples, refer to react-native-redux-sample and web-basic-sample.


Installation of Chat SDK

Requirements

Node.js should be installed on your system.

Package managers

You can download the Chat SDK for JavaScript by using two package managers below.

A. Bower

bower install sendbird

B. npm

npm install --save sendbird

Or you can manually download the Chat SDK from here on Github


Previous versions

You can access the version 2 sample from the repository by switching from master to v2 branch. You can access the chat sample that uses jQuery from the repository by switching from master to legacy tag.