How ramg-reddy/doom works
Main Components
A. Client-Side (Frontend) Layer:
• Next.js App Router Structure (shown by the nested app directory)
• Authentication Routes (/app/(auth))
• Main Application Routes (/app/(root))
• Real-time Video Components
• UI Components Layer
B. Server-Side Layer:
• Next.js API Routes
• Stream SDK Integration
• Authentication Services
• Database Services
C. External Services:
• Clerk Authentication
• Stream Video Services
• MongoDB Database
• AI Summarization Service
[Client Layer]
• ↑↓
[Application Layer]
• ↑↓
[Data & External Services Layer]
Detailed Component Breakdown
Client Layer (Top):
• Authentication UI (sign-in, sign-up)
• Meeting Room Components
• Video Controls
• Recording Management
• Navigation Components
• Blue: Core UI components
• Green: Video streaming components
• Yellow: Authentication components
Application Layer (Middle):
• Next.js Server Components
• Stream Client Provider
• API Routes
• Middleware
• Action Handlers
• Purple: Server components
• Orange: API routes
• Red: Middleware
Data & External Services Layer (Bottom):
• Clerk Auth Service
• Stream Video Service
• MongoDB Database
• AI Summarization Service
• Gray: External services
• Dark blue: Database
• Light green: AI services
Connection Flows
• Authentication flow
• Video streaming flow
• Data persistence flow
• API communication paths
• Real-time communication channels
Additional Details
• Separation between server and client components
• Where TypeScript types are enforced
• Areas where Tailwind CSS is applied
• Security boundaries
• Where middleware intercepts requests
Technical Stack Indicators
Technology badges for:
• Next.js 14
• Stream
• Clerk
• MongoDB
• TypeScript
• Tailwind CSS
• ShadCn