OpsHeaven monorepo
Frontend architecture for a four-product monorepo at OpsHeaven Technologies.
- Stack
- Redux Toolkit
- NestJS
- Prisma
- PostgreSQL
- BullMQ
- Casbin (ABAC)
- Tailwind
- shadcn/ui
- AWS S3
Problem
OpsHeaven Technologies has four products in one monorepo. The frontend needed an architecture: where code lives, how state is kept, and how each team keeps its own area. Components also had to stay lean and re-render as little as possible.
What I built
I led the frontend architecture planning: a feature-based folder structure, per-module Redux slices and CODEOWNERS-based team isolation. I designed a scalable Redux Toolkit state layer with a custom use<Feature>Store hook pattern. I built the project's design system component library and its light-mode theming system, turning Figma designs into reusable, responsive UI with Tailwind and shadcn/ui. I also build full-stack features with NestJS, Prisma, PostgreSQL, BullMQ and attribute-based access control (ABAC) with Casbin, design and implement RESTful APIs, and integrated AWS S3 for file storage and uploads.
Result
The use<Feature>Store pattern keeps components lean and re-renders minimal. The project has its own design system: a component library and a light-mode theme, built from the Figma designs.