Multi-tenant event diagramming scaffold

Build venue geometry once. Version it forever.

The first app shell is in place for organizations, venues, rooms, immutable room versions, diagrams, and shareable review links. The data model is scene-first, height-aware, and ready for editor work.

Core rules

  • Scene JSON remains the source of truth.
  • Geometry is stored canonically in millimeters.
  • Room versions are immutable and diagram-safe.
  • Sharing supports review, comment, and edit flows.

Platform

App shell and developer baseline

Next.js App Router, TypeScript strict mode, Tailwind styling, flat ESLint config, and Prisma wiring are ready for feature work.

Domain

Immutable room versioning

Rooms have a durable identity while version records capture geometry snapshots that diagrams can safely pin to.

Sharing

Role-aware diagram review links

The schema supports private, organization, token, and public link modes with review, comment, and edit capabilities.

Real data flow

Organizations, venues, and rooms are wired end to end.

/api/organizations

Organizations

  • No organizations yet. POST to the API to create the first tenant.

Venues

  • Venues will appear here once an organization exists.

Rooms

  • Rooms will show their latest immutable version here.