feat: init collaboration backend & adapt editor

This commit is contained in:
swve 2024-04-01 16:47:41 +02:00
parent 83760064e7
commit 953de4cc67
7 changed files with 100 additions and 44 deletions

View file

@ -0,0 +1,9 @@
import { Hocuspocus } from "@hocuspocus/server";
// Configure the server …
const server = new Hocuspocus({
port: 1998,
});
// … and run it!
server.listen();