Help Needed to Create Boilerplate with Next.js and Supabase for Multi-Org Platform
Hi everyone,
I'm looking for some guidance to create a boilerplate project using Next.js and Supabase that supports a multi-organization setup.
The basic idea is to onboard a parent organization, which can then onboard multiple organizations under it. Each organization will have its own users, and we'll also have modules that are specific to each organization. For example, we'll have an event management module (CRUD) where Org A manages its own events, and Org B manages separate events.
In short, I need to create a system with the following structure:
Parent Org → Multiple Sub-Orgs → Users within each Org.
Module-based functionality per organization (e.g., event management specific to each org).
Is anyone familiar with implementing this type of multi-tenant architecture with Supabase and Next.js? I'd love to get some tips or even boilerplate code if anyone has worked on something similar.
Thanks in advance for your help!
2 Replies
having the same interest regarding organizing multi-tenant architecture on Cloudflare. But it seems there's no workaround for this
Wait, i found this
https://developers.cloudflare.com/cloudflare-for-platforms/
Cloudflare Docs
Cloudflare for Platforms | Cloudflare for Platforms docs
Extend Cloudflare’s security, reliability, and performance services to your customers with Cloudflare for Platforms. Together with Cloudflare for SaaS and Workers for Platforms, your customers can build custom logic to meet their needs right into your application.