Features
- Per-tenant isolation: Each company name maps to its own CompanyDatabase actor and state
- State as the database: Employees and projects live in
c.statefor every actor instance - Action-driven updates: Add and list data through actions like
addEmployeeandlistProjects - Live switching: Swap company names in the UI to see fully isolated datasets
Implementation
The dashboard connects to one CompanyDatabase actor per company. The actor key is the company name, and its state becomes that company database.
See the implementation in src/actors.ts and frontend/App.tsx.
