This example shows how you can use Sandpack and firepad-x to build a collbrative text editor.
sandpack-firepad-x.mp4
git clone https://github.com/hussamkhatib/Real-time-collaborative-sandpack.git`
Copy the .env.local.example
file in this directory to .env.local
(which will be ignored by Git):
cp .env.local.example .env.local
Then set each variable on .env.local
:
yarn install
yarn dev
Credits: