Welcome back to our series on building a video call app with Durable Objects! In this video, we'll create a WebSocket backend using serverless technology, making the process simpler than ever before. You'll learn how to create your first Durable Object, set up a WebSocket server to coordinate connections, and keep track of connected clients.
Subscribe to not miss the future episodes of the series! In the next episode, we will cover WebSocket messages and managing connections!
Series Part 1: • Introduction to Durable Objects | Bui...
Series Part 2: • What are Durable Objects? | Build a V...
Series Part 3: • Create a Serverless Websocket “Backen...
Series Part 4: • Real-time messaging with WebSockets |...
Series Part 5: • Building the App Frontend & UI | Buil...
Series Part 6: • Making and Answering WebRTC Calls | B...
Series Part 7: • Deploy Your Video Call App | Build a ...
Create an account on Cloudflare today for free: https://dash.cloudflare.com/sign-up
Useful links mentioned:
Cloudflare Durable Objects: https://developers.cloudflare.com/dur...
CLI command for creating new Workers and Pages projects: https://developers.cloudflare.com/pag...
Hopscotch.io for local websocket testing: https://hoppscotch.io/
Github code: https://github.com/megaconfidence/veet
Chapters:
00:00 Intro
1:32 C3 CLI for creating new Worker projects
3:12 Customize the initialized project files
4:21 Code the Durable Object fetch() function
7:29 Test the websocket server
8:46 Track connected websocket clients
11:38 Code the websocket upgrade header
#cloudflare #cloudflareworkers #developer #websockets #javascript