This is an example project to run Apollo with multi-tenancy using Prisma-multi-tenant. (See also the tutorial "Adding multi-tenancy to your Apollo app")
npm installStart the server, and go to http://localhost:4000
npm run startThen, go to src/multi-tenant.js, and change the tenant name to "prod":
const name = 'prod'Finally, re-start the server, and refresh the page!
This will list the available tenants:
pmt list # or prisma-multi-tenant listThis will open studio for the tenants (dev & prod):
pmt studio dev
pmt studio prodThis will make you create a new tenant:
pmt new