A closer look at how the software fits together. Published architecture layers, responsibilities and engineering decisions, connected to the projects they belong to.
ENGINEERING NOTE / 01
AgencyOS
The local implementation uses an npm workspace monorepo: a Next.js frontend, a modular NestJS API, shared TypeScript and Zod contracts, Better Auth, and Prisma with PostgreSQL. Domain modules separate sales, project operations, finance, reporting, and private files.
The browser-facing application in the workspace monorepo
Next.js, React, TypeScript
LAYER 02
Domain API
Modules for sales, project operations, finance, reporting and private files
NestJS
LAYER 03
Contracts and identity
Shared types and validation, with authenticated agency membership
TypeScript, Zod, Better Auth
LAYER 04
Persistence
Documented relational storage accessed through an ORM
Prisma, PostgreSQL
Engineering decisions
A separate domain API
The documented monorepo keeps the Next.js interface separate from modular NestJS business endpoints. This provides an explicit boundary for agency workflows.
Organization-scoped access
Agency membership and role checks govern access to private business records. The public portfolio screenshots do not establish that every protected workflow is production-ready.
ENGINEERING NOTE / 02
NexusERP
A Next.js App Router application uses strict TypeScript, SCSS Modules, Better Auth, Prisma, and PostgreSQL. The local documentation describes a modular application in one deployable service, rather than a separate NestJS backend. Server-side organization membership and roles govern access to business records.
One deployable App Router application for service-business workflows
Next.js, TypeScript
LAYER 02
Presentation
Responsive workspace components and appearance controls
SCSS Modules
LAYER 03
Identity and organization
Server-side organization membership and roles
Better Auth
LAYER 04
Business records
Customer, delivery and finance data in relational storage
Prisma, PostgreSQL
Engineering decisions
One deployable application
The documented implementation keeps interface and server functionality in Next.js rather than adding a separate NestJS service.
A shared organization context
Customers, sales, delivery and finance records are scoped by organization. Recorded payments are accounting records, not payment-provider transactions.
ENGINEERING NOTE / 03
Cloud Command Center
The public project description specifies a Next.js interface, FastAPI backend and PostgreSQL database, with an independent worker and Docker setup. This architecture was documented on the landing page; the deployed backend was not exercised during this review.