diff --git a/client/pages/docs/DocsPlatform.tsx b/client/pages/docs/DocsPlatform.tsx index 09053651..b1054dd6 100644 --- a/client/pages/docs/DocsPlatform.tsx +++ b/client/pages/docs/DocsPlatform.tsx @@ -361,6 +361,49 @@ export default function DocsPlatform() { + {/* Architecture */} +
+
+ +

Architecture overview

+
+ + +

+ AeThex is composed of a lightweight React + Vite frontend, a Node.js backend that + exposes API endpoints (under /api/*), and a Supabase-backed PostgreSQL + database. The system integrates several services: +

+
    +
  • Frontend: React + TypeScript, Docs and Internal hubs use a separate layout and access control.
  • +
  • Backend: Node/Express handlers for public APIs, Discord webhooks, and OAuth flows.
  • +
  • Database: Supabase (Postgres) stores user profiles, creator data, and operational tables. Migrations live under code/supabase/migrations.
  • +
  • Integrations: OAuth providers (Google, GitHub, Discord, Roblox), Discord bot for role mapping & verification, and optional Web3 wallet linking.
  • +
  • Docs & CMS: Public docs are rendered with DocsLayout and editable in Builder CMS (MCP). Internal docs live under /internal-docs and require authentication.
  • +
+

This arrangement lets staff operate private operational processes while exposing curated platform docs publicly.

+
+
+
+ + {/* Troubleshooting */} +
+
+ +

Common troubleshooting

+
+ + +

OAuth redirect issues

+

If an OAuth provider returns an invalid_redirect_uri error, verify that the callback URL configured in the provider matches the deployed app's API base (e.g. https://aethex.dev/api/discord/oauth/callback for Discord). For local development use the configured VITE_API_BASE when available.

+

Session/linking problems

+

If a linking flow (e.g. linking Discord) redirects to login or loses session, check cookie SameSite settings and ensure the redirect URI domain matches where cookies are set. Staff can consult internal docs under /internal-docs/onboarding for detailed diagnostic steps.

+

Missing emails

+

Verification and notification emails are sent from support@aethex.tech. If emails are not arriving, check spam filters and outbound SMTP logs (Hostinger) for delivery failures.

+
+
+
+