
Start the Angular architecture course: who it is for, the four levels from developer to architect, and the Harbor Market app you will grow across all 22 sections.
In this lecture: Who it's for; By the end; Four levels; Harbor Market; The tools.
What does a frontend architect do day to day? Learn how an Angular architect sets structure, technical direction and quality attributes for a whole team.
In this lecture: Two questions; Structure; Technical direction; Quality attributes; The path forward.
Software architecture is a set of trade-offs. Learn to name forces, constraints and quality attributes such as performance and maintainability before choosing an Angular design.
In this lecture: Forces; Constraints; Quality attributes; Performance; Maintainability.
Meet Harbor Market, the Angular e-commerce app you will architect in this course, its three product areas, and how it grows into a multi-brand platform.
In this lecture: Three product areas; How Harbor Market grows.
Set up an Angular 22 development workspace with Node.js, the Angular CLI, VS Code extensions and the course source code.
In this lecture: What you need; If something is missing; The Angular CLI; Get the course code; Helpful extensions.
The critical rendering path explained for web developers: DNS, the HTTP cache, HTML to DOM and CSS to CSSOM, and why it shapes Angular performance.
In this lecture: Step 1: finding the server; Repeat visits: the cache; Step 2: the HTML document; Step 3: HTML to DOM; Step 4: CSS and the CSSOM.
How the JavaScript event loop works: tasks, microtasks and the rendering step, and what it means for Angular change detection and responsive UIs.
In this lecture: Run to completion; Tasks; Microtasks; Rendering, about every 16.7 ms; One turn of the event loop.
The browser rendering pipeline: style, layout (reflow), paint and compositing, plus how to spot and avoid layout thrashing in Angular apps.
In this lecture: The rendering pipeline; Style; Layout (reflow); Layout thrashing; Paint.
Web performance and the network: HTTP/1.1 vs HTTP/2 vs HTTP/3, Cache-Control headers and CDNs, explained for frontend architects.
In this lecture: Two numbers; HTTP/1.1; HTTP/2; HTTP/3; Cache-Control.
Core Web Vitals explained: Largest Contentful Paint (LCP), Interaction to Next Paint (INP) and Cumulative Layout Shift (CLS), and what makes each one worse.
In this lecture: Core Web Vitals; Largest Contentful Paint; What delays LCP; Interaction to Next Paint; What makes INP worse.
Hands-on Chrome DevTools performance profiling of an Angular app: read a trace, inspect one interaction, break down LCP and throttle like a real user.
In this lecture: Hands-on: profile Harbor Market; Reading a trace; One interaction; LCP breakdown; Throttle before you trust.
A fast tour of modern Angular for architects: standalone components, content projection, lifecycle hooks, style encapsulation and today's change detection.
In this lecture: Angular in ten minutes; Content projection; Lifecycle, the modern way; Styles and encapsulation; Change detection today.
Use TypeScript types as contracts in Angular: union types instead of flags, exhaustive checks, branded IDs, readonly data and validating data at the boundary.
In this lecture: Unions instead of flags; Exhaustive checks; Branded IDs; Readonly by default; Trust nothing at the border.
Angular dependency injection as an architecture tool: the injector hierarchy, provider scope and lifetime, component-scoped state and depending on abstractions.
In this lecture: Dependency injection; The injector hierarchy; Choosing the lifetime; Component-scoped state; Depend on abstractions.
Angular signals and zoneless change detection: how zone.js worked, what zoneless Angular changes in your code, and when to use effect().
In this lecture: Signals and zoneless; The old model: zone.js; Zoneless change detection; What changes for your code; effect().
Hands-on: scaffold an Angular 22 app with ng new and strict TypeScript and template settings, add day-one guardrails, and commit a clean baseline.
In this lecture: Hands-on: a strict start; ng new; What the new flags catch; More guardrails for day one; Commit the baseline.
Smart and dumb components in Angular: container vs presentational components, data down and events up, and how to choose between them.
In this lecture: Two kinds of components; Data down, events up; Why it pays off; How to decide; Common mistakes.
Design an Angular component's public API with signal inputs, required inputs, outputs that describe intent and model() for two-way binding.
In this lecture: A component's public API; Required by default; Domain objects, not loose fields; Outputs describe intent; model() for two-way state.
Composition over configuration in Angular: replace growing config inputs with content projection slots and small, focused components.
In this lecture: Two ways to handle more cases; How configuration grows; Composition with slots; Small, focused pieces; Structural pieces.
Cohesion, coupling and the single responsibility principle applied to Angular components and services, with real examples.
In this lecture: Three old ideas; Cohesion; Coupling; Single responsibility; The three together.
Hands-on: build the Harbor Market product catalog in Angular with typed component APIs, @for with track, and data-down, events-up communication.
In this lecture: Hands-on: the product catalog; The plan; Why track matters; The compiler checks the APIs; Data down, events up.
Exercise: refactor an Angular god component into smaller, testable components and services, and measure what improved.
In this lecture: Exercise: a god component; The smells; Three askers, three places; Your task; What improved.
Angular folder structure best practices: folders by type vs by feature vs by domain, why domain folders scale, and how to migrate safely.
In this lecture: Folders by type, two years later; Why domains work well; Names that describe the product; Migrating safely; The rest of this section.
Layered architecture for Angular apps: UI, feature, domain, data and util layers, the dependency rule, and why direction matters.
In this lecture: Layers; The util layer; The dependency rule; Why the direction matters; Fixing the header.
Domain-driven design (DDD) for the frontend: ubiquitous language, subdomains and bounded contexts applied to an Angular codebase.
In this lecture: Two halves of DDD; A shared language; Subdomains; Bounded contexts; Same word, two models.
Public APIs and barrel files (index.ts) done right in Angular: what to export from each domain and how to export routes, not pages.
In this lecture: A public API for every domain; catalog/index.ts; Through the front door; What to export; Export routes, not pages.
Enforce Angular architecture boundaries with ESLint rules so imports between domains and layers stay clean, plus when to allow an escape hatch.
In this lecture: Rules nobody checks decay; Three ways to enforce boundaries; Adding ESLint; The other direction; Escape hatches.
Hands-on: restructure an Angular app into catalog, checkout and shell domains, each with a public API, while keeping the app running.
In this lecture: Restructure Harbor Market into catalog, checkout and shell domains, each with a public API, and keep the app working throughout.
Angular state management starts with the kinds of state: server state, client state, URL state, form state and ephemeral UI state.
In this lecture: Five kinds of state; Server state; Client state; URL state; Form state.
Where should state live in an Angular app? Colocation first, the cost of state that is too high or too low, and feature-scoped services.
In this lecture: Where state should live; Colocation first; Too high; Too low; Scope services to their feature.
Build an Angular signal store from a plain service: immutable updates, computed (derived) state and business rules in pure functions.
In this lecture: A store is just a service; Immutable updates; Derive, don't store; Rules in pure functions; A catalog store.
NgRx SignalStore vs a hand-made signal store: when a state management library earns its place, with entities, lifecycle hooks and async methods.
In this lecture: When does a library earn its place?; The cart as a SignalStore; What you get; Lifecycle and async; Entities.
Server state in Angular with httpResource: request states, caching layers and stale-while-revalidate for fast, fresh data.
In this lecture: Resources in Angular; httpResource in practice; Request states; Caching: three layers; Stale-while-revalidate.
Hands-on: Angular state management for the cart and catalog filter, with a state map that shows where each piece of state lives.
In this lecture: Hands-on: two changes; Plan for the cart; Plan for the catalog filter; State map; What we didn't change.
REST vs GraphQL vs typed RPC: how an Angular frontend should talk to the back end, compared on the trade-offs that matter.
In this lecture: How the frontend talks to the back end; REST; GraphQL; Typed RPC; Comparing them.
The backend for frontend (BFF) pattern: what a BFF does for an Angular SPA and how it keeps OAuth tokens out of the browser.
In this lecture: Backend for frontend; The problem; With a BFF; What a BFF does; Tokens out of the browser.
Repository and adapter patterns in Angular that shield components from API changes, with a clear split of who knows what.
In this lecture: Shield the UI from the API; What the API sends; The adapter; The repository; Who knows what.
Angular HTTP error handling: one AppError union, user-facing error states, retries with exponential backoff and optimistic updates.
In this lecture: Kinds of failure; One AppError union; What the user sees; Errors at every level; Exponential backoff.
Generate typed Angular API clients from OpenAPI (Swagger): types-only vs full client generation and how to keep them in sync.
In this lecture: Types you don't write by hand; An OpenAPI description; Two styles of generation; Types only; Full clients.
Hands-on: build Harbor Market's Angular data layer against a mock API with adapters, repositories and httpResource as a cache.
In this lecture: Hands-on: a real data layer; The plan; Who knows what now; A good enough mock; The resource is a cache.
Angular routing architecture: lazy loading with loadChildren and loadComponent, lazy boundaries that follow domains, and what to keep eager.
In this lecture: Routes are more than URLs; Eager vs lazy; loadChildren for an area; Lazy boundaries follow domains; What to keep eager.
Angular functional route guards and resolvers: which guard to use when, why guards are UX and not security, and where data loading belongs.
In this lecture: Guards, resolvers and data loading; Functional guards; Which guard when; Guards are UX, not security; Resolvers.
The URL as state in Angular: what belongs in path vs query params, and how to read and write URL state with the router.
In this lecture: What belongs in the URL; What doesn't; Path or query?; Reading URL state; Writing URL state.
Angular preloading strategies: no preloading, PreloadAllModules and a custom preloading strategy for lazy routes.
In this lecture: Preloading; Lazy routes recap; No preloading; PreloadAllModules; A custom strategy.
Hands-on: design the Angular routes for the Harbor Market seller dashboard with lazy loading, guards and preloading.
In this lecture: The seller dashboard; The plan; What we built; Next steps; Section 8 recap.
Design tokens for an Angular design system: three tiers of tokens, semantic naming and tokens as CSS custom properties.
In this lecture: Design systems; A design token; Three tiers of tokens; Why semantic names matter; Tokens as CSS custom properties.
Angular component library design: primitives vs patterns vs domain components, and how to design a primitive's API.
In this lecture: Primitives versus patterns; Primitives; Patterns; Domain components; A primitive's API.
Theming and dark mode in Angular with CSS custom properties: light and dark themes, user choice and avoiding the flash of the wrong theme.
In this lecture: Theming and dark mode; Light theme on :root; Dark theme; Let users choose; Avoid the flash.
Headless components with the Angular CDK: menus, overlays and dialogs with accessible behaviour you can style any way you like.
In this lecture: Headless components; The hard part isn't the styles; What the CDK gives you; A headless menu; Dialogs.
Document Angular components with Storybook: set it up, write stories, and show inputs, outputs and interactions.
In this lecture: Storybook; What Storybook is; Setting it up; product-card.stories.ts; Outputs and interactions.
Version and roll out an Angular component library across teams: semantic versioning, breaking changes without pain and a release rhythm.
In this lecture: A library has to reach teams; Two ways to ship; Semantic versioning; Breaking changes without pain; Release rhythm.
Angular testing strategy: the test pyramid vs the testing trophy, static checks as tests, and the test mix for Harbor Market.
In this lecture: Kinds of tests; The test pyramid; The testing trophy; Static checks are tests too; Harbor Market's tests.
Angular unit testing with Vitest: setup, fixtures from real responses, table-driven tests and testing a signal store.
In this lecture: Setting it up; A first unit test; Fixtures from real responses; Table-driven tests; Testing a store.
Angular component testing with TestBed: test outputs, query like a user, cover edge cases cheaply and use test data builders.
In this lecture: Rendering with TestBed; Testing an output; Query like a user; Edge cases are cheap; Builders.
End-to-end testing an Angular app with Playwright: setup, the first user journey and navigation journeys.
In this lecture: End-to-end tests; Why Playwright; Setting it up; The first journey; A navigation journey.
Contract testing and visual regression testing for Angular: consumer-driven contracts vs schema-based contracts, and which to choose.
In this lecture: Two kinds of breakage; The gap; Consumer-driven contracts; Schema-based contracts; Which one?
This course contains the use of artificial intelligence.
Advanced Angular architecture for developers who want to become an Angular architect or tech lead. Writing Angular components is one job. Deciding how a whole frontend fits together, so ten teams can ship it for years, is another. This course teaches the second job: the decisions a frontend architect makes, why each one is a trade-off, and how to prove the decision still holds after the next hundred commits.
You learn by building. One Angular 22 app, Harbor Market, grows through all 22 sections, from a single folder to a multi-brand platform with micro frontends, server-side rendering, a CI/CD pipeline and written architecture decisions. Every hands-on lecture shows the real code in VS Code and the real result in Chrome, and the source code for every stage is included.
What you will learnThe capstone puts it all together: you add a second storefront brand to Harbor Market, write the architecture proposal, build it, and prove it with performance budgets, accessibility checks and boundary rules running green in CI.
Is this course right for me?Yes, if you already build Angular apps with components, services, routing and forms, and you now want to design how a large Angular application is structured, scaled and kept healthy. It fits senior Angular developers moving into an architect or tech lead role, tech leads who need to explain and defend structural decisions, and frontend engineers preparing for frontend system design interviews.
Not yet, if you are new to Angular or TypeScript. Start with a beginner course such as our Angular 22 for Beginners course, then come back. This is also not a course on one library in depth: it covers the architecture decisions around Angular, Nx, micro frontends, SSR and CI/CD, and when each one is the right choice.
Which Angular version? Everything is built with Angular 22, signals and zoneless change detection. The architecture ideas (boundaries, state placement, rendering strategy, quality gates, ADRs) apply to any recent Angular version and to large frontends in general.
What do I need? Node.js and VS Code. Setup is shown in Section 1.
How this course was made: the narration uses an AI text-to-speech voice, and AI tools were used to help write the lesson scripts and demo code and to produce the screen recordings and animated diagrams. Ram Kumar defined the course, directed its content and approved every lesson.