puui-biz Monorepo Architecture
About This Architecture
puui-biz monorepo organizes shared libraries, backend-for-frontend (BFF) services, and multi-platform client applications into a cohesive dependency graph. The root coordinates three main branches: bff-core with type definitions and data handlers, a contract layer exposing tracking, APM, A/B config, and request utilities, and platform-specific consumers including web, mini-programs, Harmony Hybrid, and React Native clients. This structure enforces separation of concerns while enabling code reuse across web and native surfaces. Fork this diagram to customize workspace boundaries, add CI/CD pipelines, or document your own monorepo topology on Diagrams.so.
People also ask
How should I structure a monorepo with shared libraries, BFF services, and multiple client platforms?
This diagram shows a monorepo root coordinating three layers: bff-core with type definitions and data handlers, a contract layer exposing tracking, APM, A/B testing, and request utilities, and platform-specific consumers for web, mini-programs, Harmony Hybrid, and React Native. This pattern enforces clear boundaries while maximizing code reuse across surfaces.
- Domain:
- Software Architecture
- Audience:
- Frontend architects and monorepo maintainers managing multi-platform TypeScript/JavaScript applications
Generated by Diagrams.so — AI architecture diagram generator with native Draw.io output. Fork this diagram, remix it, or download as .drawio, PNG, or SVG.