๐Ÿ—๏ธ Angular Enterprise Blueprint

December 29, 2025 ยท View on GitHub

CI Deploy Lighthouse License: MIT Angular PRs Welcome

A production-grade Angular 21 reference architecture that serves as both a portfolio demonstration and a "clone-and-go" starter kit for enterprise teams.

๐Ÿš€ Live Demo | ๐Ÿ“š API Docs | ๐Ÿ“– Storybook


โœจ Key Features

  • Signal-First Architecture โ€“ OnPush change detection, NgRx SignalStore, reactive primitives
  • 6 Accessible Themes โ€“ Light, dark, and high-contrast variants with WCAG AA compliance
  • Mock Authentication โ€“ Zero-backend demo with MockAuthStrategy (easily swappable)
  • Automated Quality Gates โ€“ ESLint, 85%+ coverage, Lighthouse CI, CodeQL security scanning
  • Internationalization Ready โ€“ Transloco with lazy-loaded translations
  • Comprehensive Documentation โ€“ Storybook components, Compodoc API docs, blog series

โšก Quick Start

# Clone and run in 30 seconds
git clone https://github.com/MoodyJW/angular-enterprise-blueprint.git
cd angular-enterprise-blueprint
npm install
npm start

Open http://localhost:4200 in your browser.

Requirements: Node 20+, npm 10+


๐Ÿ›๏ธ Architecture

The project follows a strict layered architecture with ESLint-enforced boundaries:

src/app/
โ”œโ”€โ”€ core/       # Singletons (auth, config, services) - loaded once
โ”œโ”€โ”€ features/   # Routed pages (lazy-loaded, isolated)
โ”œโ”€โ”€ shared/     # Reusable UI components, directives, pipes
โ””โ”€โ”€ app.ts      # Root component

Boundary Rules:

  • โœ… Features โ†’ Core, Shared
  • โœ… Core โ†’ Shared
  • โŒ Features โ†’ Features (forbidden)
  • โŒ Shared โ†’ Core, Features (forbidden)

See ARCHITECTURE.md for diagrams and detailed explanations.


๐Ÿ› ๏ธ Development

CommandDescription
npm startStart dev server (port 4200)
npm run buildProduction build
npm run testRun unit tests (Vitest)
npm run test:coverageRun tests with coverage report
npm run e2eRun E2E tests (Playwright)
npm run lintLint TypeScript and HTML
npm run storybookLaunch Storybook (port 6006)
npm run docsGenerate Compodoc documentation
npm run analyzeAnalyze bundle size
npm run releaseCreate a new release (local)

See CONTRIBUTING.md for development workflow and coding standards.


๐Ÿ“Š Tech Stack

CategoryTools
FrameworkAngular 21, TypeScript 5.9, RxJS, Signals
StateNgRx SignalStore
TestingVitest (unit, 85% threshold), Playwright (E2E)
QualityESLint (flat config), Prettier, Commitlint
DocsStorybook 10, Compodoc
CI/CDGitHub Actions, CodeQL, Lighthouse CI, release-please
I18nTransloco

๐Ÿ“ Implementation Status

PhaseFocusStatus
1Tooling & Governanceโœ… Complete
2Core Architectureโœ… Complete
3Design Systemโœ… Complete
4Application Shellโœ… Complete
5Feature Implementationโœ… Complete
6DevOps & Optimizationโœ… Complete

See docs/PLAN.md for the complete implementation roadmap.


๐Ÿ“– Documentation


๐Ÿค Contributing

Contributions are welcome! Please read CONTRIBUTING.md for guidelines.

All pull requests must pass:

  • ESLint with strict TypeScript rules
  • Unit tests with 85% coverage minimum
  • E2E tests across Chromium, Firefox, WebKit
  • CodeQL security scanning
  • Lighthouse performance audit

๐Ÿ“œ License

MIT ยฉ Jason Moody


Built with โค๏ธ using Angular 21