← Posts

AppAxioms: The Platform Layer for Production SaaS

July 31, 2026 · Platform · Gateway · Multi-tenant infrastructure
Experience, platform, and domain layers of AppAxioms
Figure 1. One product, three layers, many small services—experience, platform, domain.

What AppAxioms is

AppAxioms is Maigha’s shared platform for building and operating production SaaS: authenticated gateways, multi-tenant RBAC, domain microservices, observability, and control tooling— so each venture does not rebuild the spine that every serious product needs.

North star: One product, three layers, many small services. Gateways route. Services own logic. Ventures compound on the same foundation.

Three layers

LayerResponsibilityExamples
ExperiencePortals, landing, UX flowsWeb dashboards, marketing site
PlatformAuth, routing, events, observabilityFeMux, BeDemux, Redis, messaging
DomainBounded business capabilitiesAppgen, Mailgen, Logger

Each layer should start, deploy, and fail independently—so a studio can ship ventures without coupling every release to a monolith.

Gateway routing hub distributing to services
Figure 2. FeMux validates and normalizes; BeDemux maps operation + role → service. No business rules in the pipe.

Gateway principle

What ships in the monorepo

CapabilityRole
aasctl + TurborepoControl plane for install, env sync, build, demux merge
Web / portal packagesRBAC dashboards, shared UI, auth client
AppgenApplication generation service and engine
MailgenTransactional and platform email
LoggerCentralized logging service
platform-env / service-coreEnv profiles, shared middleware, errors, logging factories
Compose infraLocal and platform simulation (Mongo, Redis, RabbitMQ, …)

Multi-tenant RBAC

Roles and permissions are first-class: platform admins, firm-scoped operators, and gated operations through demux config—not ad-hoc checks sprinkled in UI. That is how TaxInsights, MROS, and future ventures inherit a serious tenancy bar instead of inventing one per repo.

Studio leverage: Auth, routing, mail, logging, and ops tooling become platform compound interest—the unfair advantage behind faster, cleaner venture builds.

Why it matters

Summary

Product: AppAxioms — the platform layer for production SaaS.

Function: Gateway routing, multi-tenant RBAC, domain microservices, shared packages, and aasctl/Turborepo control.

Outcome: Ventures move faster on a spine built for international, production standards.

← Back to Posts · Ventures