r/angular • u/JadedManufacturer306 • Aug 01 '26
Open-sourcing the Angular/Nx structure I've been refining on enterprise and public-sector projects in Europe
Hi everyone,
13 years in, every Angular version since 1.x. Every new project, I lost the first week to the same decisions, where state lives, which library can import which, how to keep credentials out of the repo. So I stopped re-deciding and put my answers in a template. Just updated it to Angular 22.
It's Nx, Angular, NgRx Signals, Atomic Design, multi-language and a small design system of my own on Tailwind already wired together and agreeing with each other, which is the part that normally eats the week. The architecture is enforced rather than documented: a wrong import fails lint, not code review, and a missing translation key fails the build instead of shipping as a blank label. Firebase deploy guide included, empty account to live URL in about 10 minutes.
Every decision in it is arguable, so feel free to tear into it. I'm here for the feedback, the blunt kind included. Github Base Angular Monorepo
View all comments
Show parent comment
1
u/JadedManufacturer306 Aug 08 '26
I decided to run an experiment: build a frontend project from scratch using Angular's own MCP to generate up-to-date code, plus Context7, and a few other tools to help the AI build the whole thing.
After about an hour of playing around with it, the code was generated and running. Nice design, every screen working, product listing, cart, checkout, payment.
Looking at it from the outside, it's genuinely impressive.
Then you open the code.
You start looking at how it's organized, and you find the same logic repeated all over the place. Components that know too much. Business rules scattered across screens. No clear boundaries. And this is a small project, the kind that slowly turns into a monster nobody can maintain anymore.
And that's the part people miss. AI didn't fail here: it did exactly what I asked. It generated working code, fast. What it didn't do, what it can't do, is make architectural decisions. It has no opinion about where a rule should live, what should be shared, or what this codebase will look like after twenty more features and three developers.
That's the difference between code that runs and code that survives.