PubSub Demo
This makes a functional version of pubsub using Faye and a Next client.
Run both the server and the client (npm i
and npm run dev
), then ping the server GET http://localhost:3030/ping
to update the local data and publish to all subscribers.