Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Deploy a real-time chat application

A step-by-step tutorial for deploying a serverless real-time chat application using Cloudflare Workers, WebSockets, and Durable Objects for state management and message broadcasting.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Deploy a real-time chat application

A step-by-step tutorial for deploying a serverless real-time chat application using Cloudflare Workers, WebSockets, and Durable Objects for state management and message broadcasting.

When To Use

Use when you need to implement a real-time communication system using WebSockets and Durable Objects on Cloudflare Workers.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-deploy-a-realtime-chat-app-real-time-application-workflow-guide.mdA step-by-step tutorial for deploying a serverless real-time chat application using Cloudflare Workers and Durable Objects.Questions about a step-by-step tutorial for deploying a serverless real-time chat application using Cloudflare Workers and Durable Ob...
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work.textThe git clone command used to retrieve the repository for the Cloudflare Workers real-time chat application tutorial.Exact payloads, commands, or snippets shown in The git clone command used to retrieve the repository for the Cloudflare Workers real-time chat application tutorial.
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-2.textA sequence of terminal commands and instructions for deploying a real-time chat application using Cloudflare Workers.Exact payloads, commands, or snippets shown in A sequence of terminal commands and instructions for deploying a real-time chat application using Cloudflare Workers.
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-3.textThe terminal command used to deploy the real-time chat application using Wrangler.Exact payloads, commands, or snippets shown in The terminal command used to deploy the real-time chat application using Wrangler.
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-4.textA wrangler.toml configuration file defining the routes and environment settings for a real-time chat application deployment.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining the routes and environment settings for a real-time chat application depl...
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-5.textA configuration snippet defining the routes pattern and zone ID for deploying a real-time chat application on Cloudflare Workers.Exact payloads, commands, or snippets shown in A configuration snippet defining the routes pattern and zone ID for deploying a real-time chat application on Cloudfl...
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-6.textA wrangler.toml configuration file defining the routes and environment settings for a real-time chat application deployment.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining the routes and environment settings for a real-time chat application depl...
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-7.textA configuration snippet defining the routes and custom domain settings for a real-time chat application deployment.Exact payloads, commands, or snippets shown in A configuration snippet defining the routes and custom domain settings for a real-time chat application deployment.
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-8.textA wrangler.toml configuration file defining Durable Object bindings and migrations for a real-time chat application.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining Durable Object bindings and migrations for a real-time chat application.
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-9.textA wrangler.toml configuration file defining Durable Object bindings and migrations for a real-time chat application.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining Durable Object bindings and migrations for a real-time chat application.

What This Skill Covers

  • In this tutorial, you will deploy a serverless, real-time chat application that runs using Durable Objects.
  • Main sections: Tags, Before you start, Clone the chat application repository, Authenticate Wrangler, Deploy your project.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/tutorials/deploy-a-realtime-chat-app