How zoom/videosdk-web-telehealth works
Main System Components
A. Frontend Layer
• Next.js Pages (src/pages)
• React Components hierarchy:
• Core Components (BloodGroup, Doctor, Patient)
• Video Components (VideocallContainer, Videocall)
• UI Components (shadcn/ui components)
• Chat Components
• Relationship with Zoom Video SDK
B. API Layer
• tRPC Router structure (src/server/api/routers)
• Session Router
• User Router
• Zoom Router
• S3 Router
• NextAuth Authentication flow
• API Routes
C. External Services
• Zoom Video SDK
• S3 Storage
• Database (Prisma)
Component Relationships
• Double lines: Data streaming (video/audio)
Specific Implementation Details
A. Authentication Flow
• NextAuth integration with the frontend
• How session management works
B. Video Communication
• Demonstrate Zoom Video SDK integration
• Flow of video/audio streaming
• Recording and transcription features
C. Data Flow
• How patient/doctor data moves through the system
• File upload/download paths to S3
• Demonstrate database interactions through Prisma
Technical Stack Highlights
• Next.js/React
• tRPC
• Prisma
• Zoom Video SDK
• NextAuth
• Tailwind CSS
• TypeScript