AETHEX Project - Complete Technical Stack Analysis
Executive Summary
1. FRONTEND STACK (Vercel)
Current Implementation
Architecture Components
Page Structure
code/client/pages/
├── Auth Pages
│ ├── Login.tsx (Email, GitHub, Google, Roblox, Discord OAuth)
│ ├── Onboarding.tsx (Multi-step creator setup)
│ └── ResetPassword.tsx
│
├── Main Application
│ ├── Dashboard.tsx
│ ├── Profile.tsx
│ └── Admin.tsx (Discord management, role mappings, metrics)
│
├── ARM Pages (6 arms)
│ ├── Labs.tsx (Yellow - Research & Development)
│ ├── GameForge.tsx (Green - Game Development)
│ ├── Corp.tsx (Blue - Enterprise Solutions)
│ ├── Foundation.tsx (Red - Community & Education)
│ ├── DevLink.tsx (Cyan - Roblox Professional Network)
│ └── Nexus.tsx (Purple - Talent Marketplace)
│
├���─ Creator Network
│ ├── creators/CreatorDirectory.tsx (Browse creators by arm)
│ ├── creators/CreatorProfile.tsx (Individual creator page)
│ ├── opportunities/OpportunitiesHub.tsx (Job board)
│ └── opportunities/OpportunityDetail.tsx (Individual opportunity)
│
└── Discord Integration
├── DiscordVerify.tsx (Verification code linking)
├── DiscordActivity.tsx (Activity page - WIP)
└── Activity.tsx (Activity dashboard - WIP)Context Providers
Key Components
Authentication Methods Supported
Critical Notes on Frontend
2. BACKEND STACK (Supabase + Vercel Functions)
Database (PostgreSQL via Supabase)
Core Tables
Discord Integration Tables
Creator Network Tables
Web3 Integration
Game Integration
Row Level Security (RLS) Status
API Endpoints (Code in Vercel Functions)
Location: code/api/ directory
code/api/ directoryBackend Server (Express.js)
3. DISCORD BOT STACK (Railway)
Current Deployment
Bot Configuration
Implemented Slash Commands
1. /verify (Account Linking)
/verify (Account Linking)2. /set-realm (Choose Primary Arm)
/set-realm (Choose Primary Arm)3. /profile (Show Profile)
/profile (Show Profile)4. /unlink (Disconnect Account)
/unlink (Disconnect Account)5. /verify-role (Check Assigned Roles)
/verify-role (Check Assigned Roles)Supporting Utilities
Dependencies
Environment Variables
Bot Health Check
4. DISCORD INTEGRATION LAYER
OAuth Flow (User Signup/Login with Discord)
Verification Code Flow (Link Existing Account)
Discord Manifest
5. PLANNED vs. ACTUAL - KEY DIFFERENCES
Development Plan Says... | Actually Have... | Status
6. ENVIRONMENT VARIABLES (All Set)
Supabase
Discord OAuth
Roblox OAuth
Web3
API Base
7. WHAT'S PRODUCTION-READY ✅
8. WHAT NEEDS WORK ⏳
9. QUICK REFERENCE - FILE LOCATIONS
10. DEPLOYMENT CHECKLIST
Frontend (Vercel)
Backend (Supabase)
Bot (Railway)
Discord Developer Portal
CONCLUSION
Last updated
