Microapps Series
Learn how to design, create, and scale microapps in Buildpad using practical domain boundaries and shared platform services.
Audience: Teams building multi-domain applications with more than one microapp.
Time: ~20-30 minutes per guide.
Buildpad currently supports microapp management, shared DaaS data, and AI IDE starter workflows. Planning and implementation happen in your external AI IDE.
The architecture in this series is for Supabase projects. On a Buildpad Engine project, website microapps work, and they share the Engine as their backend. The add-microfrontend skills set up composition into the Main App on Supabase projects only, for now; an Engine project already composed with Multi-Zones is promoted to Production with its zones. Mobile microapps work on a Buildpad Engine project too: see Mobile apps on a Buildpad Engine project.
Microapp Concept
A microapp is a standalone frontend application that owns a specific business domain (for example, Billing, Users, or Analytics) while still operating as part of one product experience.
In Buildpad, microapps are not separate data silos. They share a single backend foundation and collaborate through clear domain ownership:
- Each microapp has its own codebase, release cycle, and deployment
- All microapps connect to the same backend (the project’s Buildpad Engine) (the same DaaS backend URL and the same Supabase auth foundation)
- Domain boundaries are defined by collection ownership, not separate databases
- The Main App remains a full application, not only a thin shell
This model gives teams autonomy in delivery without fragmenting auth, data access, or platform standards.
Microapp Architecture in Buildpad
Buildpad microapps follow a shared-backend architecture:
- Main App: Handles global navigation, auth entry, and links or routes to the microapps.
- Microapps: Independent Next.js apps focused on one domain each.
- Shared backend: One data service serves collections across all domains, and enforces permissions and scope rules on every call.
On a Buildpad Engine project, each app runs on its own address, and the Main App links to the microapps. Composing them into one page (Multi-Zones or frames) is not available on an Engine project yet. Each app calls the Engine through its own server routes with the signed-in user’s access token.
On a Supabase project, the Main App serves each microapp under a path prefix with Next.js Multi-Zones: one origin, one shared session cookie, no iframes. Frame composition (add-microfrontend) is for a microapp that is not a Next.js app, is third-party or untrusted code, or must render inside a page of another app.
Typical runtime flow:
- A user signs in through the Main App
- The Main App routes a path such as
/crmto the microapp’s zone - The microapp calls DaaS with the user’s session
- DaaS permissions and scope rules enforce access across shared collections
Architecture principles to keep in mind:
- Shared backend, independent frontend deployment
- Collection-level ownership with cross-domain contracts when needed
- Backend-first business rules (extensions, permissions, workflows) in the data service
- Centralized RBAC and scope-aware access instead of custom per-app auth logic
Architecture Diagram
- Global navigation
- Sign-in entry
- Microapp orchestration
- Users collections
- Billing collections
- Analytics collections
- Central RBAC and scope
- Extensions and workflows
- Global navigation
- Sign-in entry
- Microapp orchestration
- Users collections
- Billing collections
- Analytics collections
- Central RBAC and scope
- Extensions and workflows
What You’ll Learn
- How to split features into microapp domains without creating data silos
- How microapps share one DaaS backend and one auth foundation
- How to configure and build each microapp with AI IDE starters
- How to keep deployments independent while preserving shared platform context
The Tutorial Path
Recommended Next Steps
- Follow Developer Series to implement production-grade capabilities inside a microapp.
- Follow AI Series to add AI-powered features backed by your shared DaaS data.