Skip to content

anycable/anycable-pubsub-nextjs

Repository files navigation

Next.js vs. AnyCable pub/sub

A minimal messaging Next.js app demonstrating AnyCable v1.5 pub/sub features.

Learn more in the documentation.

See this project on StackBlitz.

Running locally

To run the project locally, you must install and run AnyCable server:

npm install @anycable/anycable-go
npx anycable-go --public --presets=broker

NOTE: Using --public flag is important for this example (we don't have any authentication/authorization logic here).