devonfw/devon4ng-ngrx-template

Folder Structure does follow Angular’s best practices

Opened this issue · 0 comments

Angular's best practices (https://angular.io/guide/styleguide) give a clear indication of how an Angular Project needs to be structured. Therefore the style guide suggests four main design patterns:

  1. All feature areas are in their own folder, with their own NgModule.
  2. All distinct features are in their own folder, with their own NgModule. The feature folder is placed inside the respective feature area folder.
  3. Create a folder module named Shared Module in a shared folder. Commonly used components, directives and pipes are placed inside SharedModule.
  4. Create a core folder including a CoreModule. Services and Modules, which are used system-wide are placed inside the core folder.

All four design patterns are not well executed inside the ngRx-template. Therefore the project needs to be restructured following these design patterns.