learn
apps/

apps/

The runnable services.

Each service lists its workspace dependencies in its own package.json; the diagram shows the main ones. The web editor imports the engine, the shared models, and auth. The HTTP and WebSocket servers share the backend collaboration helpers, and both reach the database and Redis packages. The flush worker touches only Redis and the database.

What it owns

  • Web editor, dashboard, and room pages
  • Authenticated HTTP API for scenes, rooms, invites, files, and libraries
  • Authenticated WebSocket transport for rooms
  • Background worker flushing room snapshots to the database

Files

File list and purposes from the folder README.

FilePurpose
web/Next.js editor, account dashboard, and room access interface.
http-server/Authenticated HTTP API for scenes, rooms, invites, files, and private library items.
ws-server/Authenticated room WebSocket transport for presence, scene changes, selections, and laser trails.
flush-worker/BullMQ worker that flushes Redis room state to durable Prisma snapshots.

Dependencies

LibraryWhyWorkspaces
@types/nodeType declarations for Node.js built-ins.4
tsxRuns and watches TypeScript sources for development and tests.3
TypeScriptCompiles the workspace and type-checks every package.2
Tailwind PostCSS pluginWires Tailwind into the Next.js PostCSS build.1
@types/corsType declarations for CORS.1
@types/expressType declarations for Express.1
@types/reactType declarations for React.1
@types/react-domType declarations for React DOM.1

In this group: Web · HTTP server · WebSocket server · Flush worker

Dependencies as of commit b0026d9.

apps/ dependencies
BrowserAPIRealtimeCacheDatabaseShareddurableephemeral

Talks to

Sources: apps/README.md, apps/web/package.json, apps/http-server/package.json, apps/ws-server/package.json, apps/flush-worker/package.json (documented at commit b0026d9)

On this page