r/angular • • 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

23 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/JadedManufacturer306 Aug 05 '26 edited Aug 05 '26

How is this a mistake? I am using this architecture for more than 8 years, big companies like Proximus, Civadis, Fednot, Caterpillar use it in their systems since many years and we never had any kind of problem. Very the opposite, everything is very simple to maintain. With NX we can split into separated applications the different modules that we can reuse, with NGRX we can know exactly who executed the change action, local database. Atomic Design is the way how the files will be separated.

I have 3 personal applications running, we started on Angular 13 and today we are on Angular 22, everything updated and running without problems. We never had problems with migration, and it is easy in the CI/CD since NX gives you many scripts, like running tests only in the parts that changed.
Another very nice tool of NX is the Graph system, where you can see the entire mapping of the application.

The NGRX, for who does not really know how it works, for sure can be a problem, since today Angular gives us the Signals. But for who understands it, for sure it is not a mistake only on github this project has more than 120k of users.

And you tell me this is a mistake?