This is a work in progress. It is likely to have many changes over time, particularly as all of the tools improve.
Compodoc documentation is available at:
https://oasisdigital.github.io/angular-enterprise-example/
This set of example applications/features use Nx to wire up inter-project dependencies during development. Following the Nx convention, they are divided into "apps" and "libs".
There is a many-to-many relationship between applications and modules, and modules can use other modules.
In addition, there is a "servers" directory intended to contain one or more server-side example code bases that support the Angular example. These are not managed using Nx, which is Angular specific. However, in a sprawling set of related servers and libraries, Lerna could be used too much the same effect.
The example applications are not very complex - certainly not complex enough to warrant the amount of complexity used to build it. Real application of this modest complexity could easily be written as a single project (each).
Still, the example applications reuse blocks of functionality, so they show the value of this multi-package approach.
There are three application to run:
To understand how they are cross wired, look at the tsconfig.json file for each.
Two of the modules use ngrx/store for state management, With appropriate lazy loading of feature modules.
In one window:
yarn
yarn start
# add --app=agent or --app=portal if desired
In another window:
cd servers/node
yarn
yarn start
Main author: Kyle Cordes
Much help from the team at: Oasis Digital
... who teach Angular Boot Camp