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
.envand add your Liveblocks secret as environment variableLIVEBLOCKS_SECRET_KEY=sk_test_yourkey - Run
npm run devand go to http://localhost:3000