A web client for group chats on desktop browsers based on SendBird JavaScript Web Basic Sample.
The client supports open channels, group channels, and read receipts using SendBird JavaScript SDK and Express.
The demo client is available at https://chat-client.chriswang.tech/
- Install packages
Require that you have Node v8.x+ installed.
npm install
- Build
npm build
- Run
npm start
If you want to put some changes into the sample, you should build it using webpack
.
- Install packages
Require that you have Node v8.x+ installed.
npm install
- Modify files
If you want to change
APP_ID
, changeAPP_ID
in./src/js/const.js
to the otherAPP_ID
you want.
You can test the sample with local server by running the following command.
npm run start:dev
- Build the sample
When the modification is complete, you'll need to bundle the file using
webpack
. The bundled files are created in thedist
folder. Please checkwebpack.config.js
for settings.
npm run build