Skip to content
AlphaBeast97Public

About

A FullStack Conferencing WebApp Powered By AI

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ₯ RelayIt

Professional Video Conferencing Platform - Connect, Collaborate, and Communicate Seamlessly

Next.js TypeScript Tailwind CSS Stream Clerk


🌟 Overview

RelayIt is a modern, feature-rich video conferencing application built with cutting-edge technologies. Designed for seamless real-time communication, it offers enterprise-grade video calling capabilities with an intuitive user interface and robust security features.


✨ Features

πŸš€ Core Functionality

  • Instant Meetings - Start video calls immediately with one click
  • Scheduled Meetings - Plan and organize future meetings with date/time selection
  • Personal Room - Dedicated meeting space for each user
  • Join via Link - Easy meeting access through shareable links
  • Meeting Recordings - Record and review past meetings

πŸŽ›οΈ Advanced Meeting Controls

  • Multiple Layout Options
    • Grid Layout - Equal participant view
    • Speaker Layout - Focus on active speaker
    • Flexible positioning (left/right speaker view)
  • Interactive Features
    • Real-time participant list
    • Call statistics and performance metrics
    • Comprehensive call controls (mute, camera, screen share)
    • Meeting end/leave functionality

πŸ” Security & Authentication

  • Clerk Integration - Secure user authentication and management
  • Protected Routes - Middleware-based route protection
  • Stream Security - Enterprise-grade video infrastructure
  • User Permissions - Role-based access control

🎨 User Experience

  • Responsive Design - Optimized for desktop, tablet, and mobile
  • Dark Theme - Modern dark UI with glassmorphism effects
  • Real-time Notifications - Toast notifications for user feedback
  • Intuitive Navigation - Clean sidebar and navigation structure

πŸ› οΈ Technology Stack

Frontend

  • Framework: Next.js 15.4.6 with App Router
  • Language: TypeScript 5.0+
  • Styling: Tailwind CSS 4.0 with custom theme
  • UI Components: Radix UI primitives
  • Icons: Lucide React icons

Backend & Services

  • Video Infrastructure: Stream Video SDK
  • Authentication: Clerk
  • Real-time Communication: Stream.io
  • State Management: React hooks and context

Development Tools

  • Package Manager: npm
  • Linting: ESLint with Next.js config
  • Build Tool: Next.js with Turbopack
  • Styling: PostCSS with Tailwind

πŸš€ Quick Start

Prerequisites

  • Node.js 18.0 or higher
  • npm or yarn package manager
  • Stream.io account
  • Clerk account

Installation

  1. Clone the repository

    git clone https://github.com/AlphaBeast97/RelayIt.git
    cd RelayIt/relay
  2. Install dependencies

    npm install
  3. Environment Setup Create a .env.local file in the relay directory:

    # Clerk Authentication
    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
    CLERK_SECRET_KEY=your_clerk_secret_key
    NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
    NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
    
    # Stream Video
    NEXT_PUBLIC_STREAM_API_KEY=your_stream_api_key
    STREAM_SECRET_KEY=your_stream_secret_key
    
    # Application URL
    NEXT_PUBLIC_BASE_URL=http://localhost:3000
  4. Run the development server

    npm run dev
  5. Open your browser Navigate to http://localhost:3000


πŸ“ Project Structure

relay/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/                    # Next.js App Router
β”‚   β”‚   β”œβ”€β”€ (auth)/            # Authentication pages
β”‚   β”‚   β”‚   β”œβ”€β”€ sign-in/       # Sign in page
β”‚   β”‚   β”‚   └── sign-up/       # Sign up page
β”‚   β”‚   β”œβ”€β”€ (root)/            # Protected application routes
β”‚   β”‚   β”‚   β”œβ”€β”€ (home)/        # Home dashboard
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ personal-room/  # Personal meeting room
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ previous/       # Past meetings
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ recordings/     # Meeting recordings
β”‚   β”‚   β”‚   β”‚   └── upcoming/       # Scheduled meetings
β”‚   β”‚   β”‚   └── meeting/       # Active meeting room
β”‚   β”‚   β”œβ”€β”€ globals.css        # Global styles
β”‚   β”‚   └── layout.tsx         # Root layout
β”‚   β”œβ”€β”€ components/            # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ ui/               # Base UI components
β”‚   β”‚   β”œβ”€β”€ CallList.tsx      # Meeting list component
β”‚   β”‚   β”œβ”€β”€ MeetingRoom.tsx   # Main meeting interface
β”‚   β”‚   β”œβ”€β”€ MeetingSetup.tsx  # Pre-meeting setup
β”‚   β”‚   └── ...               # Other components
β”‚   β”œβ”€β”€ hooks/                # Custom React hooks
β”‚   β”œβ”€β”€ lib/                  # Utility functions
β”‚   β”œβ”€β”€ providers/            # Context providers
β”‚   β”œβ”€β”€ actions/              # Server actions
β”‚   β”œβ”€β”€ constants/            # Application constants
β”‚   └── middleware.ts         # Route protection
β”œβ”€β”€ public/                   # Static assets
β”‚   β”œβ”€β”€ icons/               # SVG icons
β”‚   └── images/              # Image assets
β”œβ”€β”€ package.json
β”œβ”€β”€ next.config.ts
└── tsconfig.json

🎯 Usage Guide

Starting a Meeting

  1. Navigate to the dashboard
  2. Click "New Meeting" for instant meetings
  3. Or click "Schedule Meeting" to plan future meetings
  4. Configure meeting settings and invite participants

Joining a Meeting

  1. Click "Join Meeting" on the dashboard
  2. Paste the meeting link
  3. Configure your camera and microphone
  4. Join the meeting room

Meeting Controls

  • Layout: Switch between grid and speaker views
  • Participants: View and manage meeting participants
  • Settings: Adjust audio/video preferences
  • Recording: Start/stop meeting recordings
  • Screen Share: Share your screen with participants

πŸ”§ Configuration

Clerk Setup

  1. Create a Clerk application
  2. Configure sign-in/sign-up settings
  3. Set up OAuth providers (optional)
  4. Add your keys to environment variables

Stream.io Setup

  1. Create a Stream application
  2. Get your API key and secret
  3. Configure video calling settings
  4. Add credentials to environment variables

Customization

  • Modify theme colors in globals.css
  • Update component styles in respective files
  • Configure meeting layouts in MeetingRoom.tsx
  • Customize authentication flow in Clerk dashboard

πŸ“¦ Available Scripts

# Development
npm run dev          # Start development server with Turbopack

# Production
npm run build        # Build for production
npm run start        # Start production server

# Code Quality
npm run lint         # Run ESLint checks

πŸ› Troubleshooting

Common Issues

Authentication Problems

  • Verify Clerk environment variables
  • Check Clerk dashboard configuration
  • Ensure correct redirect URLs

Video Call Issues

  • Verify Stream.io credentials
  • Check browser permissions for camera/microphone
  • Test network connectivity

Build Errors

  • Clear .next folder and rebuild
  • Verify all dependencies are installed
  • Check TypeScript configuration

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments

  • Next.js Team - For the amazing React framework
  • Stream.io - For robust video infrastructure
  • Clerk - For seamless authentication
  • Vercel - For deployment platform
  • Tailwind CSS - For utility-first styling

Made with ❀️ by the RelayIt Team


Building the future of remote communication, one meeting at a time.

About

A FullStack Conferencing WebApp Powered By AI

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages