Skip to content

Cloudflare Workers + Durable Objects + WebSocket for Realtime interaction

Notifications You must be signed in to change notification settings

zett-8/workers-do-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image

⚡️ Realtime Chat app

Demo: https://workers-do-chat.zett.workers.dev

Getting Started

Installation

Install the dependencies:

pnpm install

Development

Generate types:

pnpm typegen

To run Server:

pnpm build
pnpm start

Your application will be available at http://localhost:8787.

To run Frontend separately:

pnpm dev

Your frontend will be available at http://localhost:5173.

Building for Production

Create a production build:

pnpm run build

Deployment

Deployment is done using the Wrangler CLI.

To deploy directly to production:

npx wrangler deploy

To deploy a preview URL:

npx wrangler versions upload

You can then promote a version to production after verification or roll it out progressively.

npx wrangler versions deploy

Styling

This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever CSS framework you prefer.


Built with ❤️ using React Router.

About

Cloudflare Workers + Durable Objects + WebSocket for Realtime interaction

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published