-
Notifications
You must be signed in to change notification settings - Fork 0
Multitenancy #13
Copy link
Copy link
Open
Description
Make single-database multitenancy using stanci's tenancy package.
Allow for some data to not be scoped to tenants and available globally to all users (similar to how food tracker apps work with global nutritional info and things like that). Allow for globally available data such as seed types, animal types, etc. Allow users to publish globally or keep them private (maybe just have a public boolean flag on the table)
The general structure of multi-tenant apps is as follows
- Central app - The main app through which all requests go
- All global app configuration/management should happen here (managing tenants, super-admins, etc).
- Request routing goes through here as well via middleware. Generally, tenant routing will happen via subdomain, but this is configurable.
- Tenant app - This is the app that end-users have access to (myfarm.openstead.app). In this particular app, a tenant should correspond to a farm/homestead.
Figure out how to work a central public app like the public marketplace idea into this paradigm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels