/twasi-panel

Panel for the Twasi-Core that offers a clean looking, modern user interface for managing the chatbot, viewing statistics and installing/uninstalling plugins.

Primary LanguageJavaScriptMIT LicenseMIT

Twasi Panel

Build Status

This is the management bord for the Twitch Bot. You can control, enable, disable and manage plugins here.

Set up

Clone the repo and issue yarn or npm install. In the public directory, create a folder "config" with the file "config.js" in it.

Paste this into the file:

window.env = {
  ...window.env,
  AUTH_URL: 'https://api-beta.twasi.net/auth?environment=http://localhost:3000',
  GRAPHQL_URL: 'https://api-beta.twasi.net/graphql',
  WEBSOCKET_URL: 'wss://api-beta.twasi.net/ws'
};

You can also adapt it to use the local backend (if it is running on your machine):

window.env = {
  ...window.env,
  AUTH_URL: 'http://localhost:8000/auth?environment=http://localhost:3000',
  GRAPHQL_URL: 'http://localhost:8000/graphql',
  WEBSOCKET_URL: 'ws://localhost:8000/ws'
};