This repository is deprecated, please use https://github.com/liveblocks/liveblocks/tree/main/examples/express-javascript-live-cursors.
This repo contains Liveblocks examples that do not rely on any front-end technologies. It uses express for the authentication endpoint and esbuild for the bundling.
To run examples locally
- Install all dependencies with
npm install
- Create an account on liveblocks.io
- Copy your secret key from the administration
- Create a file named
.env
and add your Liveblocks secret as environment variableLIVEBLOCKS_SECRET_KEY=sk_test_yourkey
- Run
npm run dev
and go to http://localhost:3000