Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build a comprehensive realtime chat application with advanced features including public and private rooms, permission systems, user invitations, and infinite scrolling using modern web technologies. Master the integration of Next.js, Tailwind CSS, Shadcn UI components, React, Drizzle ORM, and Supabase to create a fully functional chat platform. Start by setting up Supabase for backend services and authentication, then configure the database schema for chat rooms and user management. Build the user interface components including navigation bars, empty states, and chat room creation forms. Implement the core chat functionality with real-time message synchronization, user invitation systems, and infinite scroll pagination for message history. Explore advanced Supabase features including the MCP (Model Context Protocol) server setup for enhanced functionality. Develop a complete permission system to manage user access to different chat rooms and implement both public and private room types. Create responsive UI components using Shadcn's component library and style everything with Tailwind CSS for a modern, professional appearance. The tutorial covers database design, authentication flows, real-time subscriptions, and advanced React patterns for building scalable chat applications.
Syllabus
00:00:00 - Introduction/Demo
00:00:53 - Supabase Setup
00:05:06 - Auth Setup
00:09:57 - Database Setup
00:15:04 - Chat Room List Empty State
00:17:26 - Navbar
00:26:20 - New Chat Room Page
00:45:58 - Supabase MCP Server Setup
00:53:04 - Chat Room List Page
01:08:54 - Chat Page
01:35:18 - Realtime Functionality
01:56:40 - Invite User Modal
02:01:23 - Infinite Scroll
Taught by
Web Dev Simplified