Multi-Tenant Example

This multi-tenant example allows you to explore multi-tenancy with domains and with slugs.

Domains

When you visit a tenant by domain, the domain is used to determine the tenant.

For example, visiting http://gold.localhost:3000/tenant-domains/login will show the tenant with the domain "gold.localhost".

Slugs

When you visit a tenant by slug, the slug is used to determine the tenant.

For example, visiting http://localhost:3000/tenant-slugs/silver/login will show the tenant with the slug "silver".