Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 789 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 789 Bytes

NATS Whiteboard

This project is a simple (~100 lines of JavaScript) implementation of a real-time, persistent interactive whiteboard using NATS Websockets, NATS Jetstream and AlpineJS.

Demo

To see the NATS whiteboard in action, feel free to try the demo

Installation

To get this working on your local computer, you will need to:

  1. Install NATS
  2. Run NATS with Websockets and Jetstream support nats-server -c nats.conf
  3. Create a stream for your whiteboard in NATS: nats stream create whiteboard --subjects='whiteboard.*' --allow-rollup
  4. npm install
  5. npm run dev