Skip to content

Core Components

Baytae Tistear edited this page Jul 7, 2026 · 1 revision

Core Components

This section explains the major SDAC product pieces after installation is complete.

Pages

  • Server - production files, services, environment variables, Nginx, health checks, Docker, and PostgreSQL notes.
  • Bot - Discord commands, submissions, categories, games, polls, setup diagnostics, moderation, backups, release notifications, and experimental anime activities.
  • Dashboard - public pages, accounts, OAuth, admin pages, sidebar, theme/layout editors, moderation, game library, releases, and APIs.
  • App - SDACCompanion, app behavior, backend API expectations, Android builds, signing, install paths, and future SDK direction.

Source Of Truth

The bot, dashboard, and app should all use the same backend rules:

  • The database is the shared source for submissions, users, games, votes, audit logs, and runtime state.
  • config.json is the shared source for non-secret guild/server settings.
  • Environment files are the source for secrets and deployment-specific settings.
  • The app should use API endpoints instead of duplicating dashboard logic.

When To Update This Section

Update these pages when a change affects how a major part of SDAC works, especially if it changes user-facing behavior, setup requirements, permissions, APIs, or deployment expectations.

Clone this wiki locally