How suryxnshsingh/oculink works
Project type and purpose
• This is a full-stack web application built on Next.js (App router) with TypeScript and Tailwind CSS.
• Purpose: A feature-rich, real-time video-conferencing platform (“OcuLink”) with secure authentication, meeting scheduling, live calls, recordings, and participant management.
• External services: Clerk (authentication/authorization) and getstream (real-time video calls, recording, chat).
File structure
• app/ – Next.js App-Router pages and layouts, split into auth routes (signin, signup) and protected routes (home, meeting, personal-room, recordings, upcoming, previous).
• components/ui/ – Reusable React UI components (Navbar, Sidebar, MeetingRoom, CallList, etc.).
• providers/ – streamClientProvider.tsx initializes the getstream client and exposes it via React context.
• actions/ – stream.actions.ts encapsulates getstream API calls (e.g., create room, fetch calls).
• hooks/ – Custom React hooks (useGetCalls, useGetCallById, use-toast).
• lib/utils.ts – Shared utilities.
• middleware.ts – Protects routes, enforces authentication with Clerk.
• next.config.mjs, tailwind.config.ts, postcss.config.mjs – Build and styling configuration.
README for additional insights
• Tech stack confirms Next.js, TypeScript, Clerk and getstream.
• Mentions features: secure login, scheduling, live controls (screen share, recording, mute/unmute), responsive design.