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.
| File | Purpose |
|---|---|
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
| Library | Why | Workspaces |
|---|---|---|
| @types/node | Type declarations for Node.js built-ins. | 4 |
| tsx | Runs and watches TypeScript sources for development and tests. | 3 |
| TypeScript | Compiles the workspace and type-checks every package. | 2 |
| Tailwind PostCSS plugin | Wires Tailwind into the Next.js PostCSS build. | 1 |
| @types/cors | Type declarations for CORS. | 1 |
| @types/express | Type declarations for Express. | 1 |
| @types/react | Type declarations for React. | 1 |
| @types/react-dom | Type declarations for React DOM. | 1 |
In this group: Web · HTTP server · WebSocket server · Flush worker
Dependencies as of commit b0026d9.
Laying out 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)