Uploaded September 2024 | Updated November 2026, 5 days ago
We will build a realtime messaging app like WhatsApp using NextJs, shadcn/ui, Clerk for authentication, and Stream for messaging APIs and SDKs to build in-app chat.
👉🏼 Project source code
→ hamedbahram.io/notes/realtime-chat-app
👉🏼 React chat tutorial
→ https://dub.sh/Gc6ARrh
👉🏼 React video calling tutorial
→ https://dub.sh/KRzluBg
👉🏼 NextJs Clerk shadcn/ui template
→ github.com/HamedBahram/next-clerk
👉🏼 Clerk authentication
→ go.clerk.com/1zHTbA5
👉🏼 My courses
→ hamedbahram.io/courses
Chapters
00:00:00 Intro
00:02:18 Project setup
00:05:00 Clerk setup
00:11:10 Stream setup
00:23:30 Generating JWT tokens
00:30:00 Custom chat layout
00:33:30 Initial chat components
00:48:15 Add dark theme
00:50:15 Customizing UI component
01:04:00 Creating new channels
01:28:30 Add sidebar nav
01:31:40 Recap
We will build a realtime messaging app like WhatsApp using NextJs, shadcn/ui, Clerk for authentication, and Stream for messaging APIs and SDKs to build in-app chat.
👉🏼 Project source code
→ hamedbahram.io/notes/realtime-chat-app
👉🏼 React chat tutorial
→ https://dub.sh/Gc6ARrh
👉🏼 React video calling tutorial
→ https://dub.sh/KRzluBg
👉🏼 NextJs Clerk shadcn/ui template
→ github.com/HamedBahram/next-clerk
👉🏼 Clerk authentication
→ go.clerk.com/1zHTbA5
👉🏼 My courses
→ hamedbahram.io/courses
Chapters
00:00:00 Intro
00:02:18 Project setup
00:05:00 Clerk setup
00:11:10 Stream setup
00:23:30 Generating JWT tokens
00:30:00 Custom chat layout
00:33:30 Initial chat components
00:48:15 Add dark theme
00:50:15 Customizing UI component
01:04:00 Creating new channels
01:28:30 Add sidebar nav
01:31:40 Recap

![Creating a Clerk account & connecting your project [3/6]
Use the link below and click Sign Up or Get Started to create your free Clerk account.
👉🏼 Clerk auth
→ https://go.clerk.com/s1mVa9u Creating a Clerk account & connecting your project [3/6]](https://i.ytimg.com/vi/pKEQtrwjwfM/mqdefault.jpg)








