/sendbird-moderation-dashboard

Sendbird Moderation dashboard that allows viewing of reported items (i.e. users, messages and channels)

Primary LanguageJavaScript

Sendbird Moderation Dashboard

Deploy

This is a sample app that acts as a moderation dashboard for all reported items, like users, messages and channels, within a Sendbird Application and any profanity filtered messages within both Group and Open channels.

Built with the Sendbird Platform API. For more information about the API and its usage head to the Report content and subject section of the Sendbird Platorm API Docs.

Dashboard reports page screenshot

Dashboard profanities page screenshot

Features

  • List all reported items divided by users, messages and channels
  • Filter reported items by date and type (suspicious, harassing, inappropriate, or spam)
  • View profanity filtered messages in a channel
  • Mute / Unmute reported users
  • Ban / Unban reported users
  • Delete reported messages
  • Freeze / Unfreeze channels

User authentication

⚠️ This dashboard can be used by Sendbird users and provides successfull authentication only for Sendbird users that have {moderator: "true"} inside their metadata.

Head to this part of the docs on how to create and update user metadata.

Development

Download

git clone https://github.com/charisTheo/sendbird-moderation-dashboard.git
cd sendbird-moderation-dashboard
git checkout node-server-auth

Install

npm i
cd web && npm i

Run

From the root of the project

npm run dev

Within the web/ directory

Run this command inside an additional terminal to the above.

npm start

Build

npm run build

The output of the build command above will be under the ./web/build directory.