I came across several approaches to structuring a monorepo style projects. In this post I’m going to document several possibilities while using NX. Examples will be generated using NX cli and Angular cli.

ng new angular-workspace --createApplication="false"
ng generate application my-app

Categories for libraries

  • feature
  • data-access
  • ui
  • util
  • shell
  • api
  • domain
  • assets

Sources