How cmandamiento/angular-architecture-base works
Project type and purpose
• This is a single‐page front-end Angular application scaffold (“Angular Architecture Base”) that demonstrates best practices: modularization, smart vs. presentational components, a facade pattern, shared services, HTTP interceptors, routing, and simple RxJS state management.
• It does not include its own back end; instead it consumes a remote API via the characters‐service.api.ts.
File structure
• Top-level files: angular.json, package.json, tsconfigs, README, config for linters/tests.
• “src/app” houses the main AppModule plus feature modules:
• app.module.ts / app-routing.module.ts
• characters/ – a lazy-loaded feature: API service, routing, facade, components (presentational) and containers (smart), enums, models, and state
• shared/ – SharedModule with shared components (header, paginator, loader container), shared.facade, interceptors, models, and state
• “e2e” and spec files for end-to-end and unit testing.
README for additional insights
• Confirms the use of modules, services, facades, interceptors, smart vs. presentational components, and simple state with RxJS.
• Links point to best practices for angular architecture, facade pattern, loader interceptors, and state management with RxJS services.