How ismaestro/angular-example-app works
This is a real-world Angular Pokémon example app. Users enter through the Angular app, navigate to public or guarded feature routes, and can browse Pokémon, authenticate, and manage their account or caught Pokémon. The graph preserves the documented PokeAPI, internationalization, and prerendering capabilities. Several feature implementations were not sampled, so those branches are represented at their exact source paths; their internal call relationships are omitted unless visible in the supplied evidence.
Main entry points: app.routes.ts Root routes · app.component.ts App shell · authentication.routes.ts Auth routes · authentication.service.ts Authentication service
Components 27
Application shell
- Angular bootstrap
src/main.ts - App shell
src/app/app.component.ts - Root routes
src/app/app.routes.ts - Prerender routes
src/app/app.routes.server.ts - Home page
src/app/features/home/home.component.ts - Error page
src/app/features/error/pages/error-404/error-404.component.ts
Authentication
- Auth routes
src/app/features/authentication/authentication.routes.ts - Login and registration
src/app/features/authentication/pages/register/register.component.ts - Account page
src/app/features/authentication/pages/my-account/my-account.component.ts - Authentication service
src/app/features/authentication/services/authentication.service.ts - Authentication guards
src/app/features/authentication/guards/authentication.guard.ts
Pokémon features
- Pokémon routes
src/app/features/pokemon/pokemon.routes.ts - Pokémon detail
src/app/features/pokemon/pages/pokemon-detail/pokemon-detail.component.ts - Pokémon service
src/app/features/pokemon/services/pokemon.service.ts - Pokédex
src/app/features/pokemon/components/pokedex/pokedex.component.ts - Battlefield
src/app/features/pokemon/components/pokemon-battlefield/pokemon-battlefield.component.ts - Catch animation
src/app/features/pokemon/components/catch-animation/catch-animation.component.ts - My Pokémon
src/app/features/user/my-pokemon/pages/my-pokemon/my-pokemon.component.ts
Shared services and UI
- Language service
src/app/core/services/language.service.ts - SEO service
src/app/core/services/seo.service.ts - Shared UI
src/app/shared/components/header/header.component.ts - Cookie consent
src/app/shared/components/cookie-popup/cookie-popup.component.ts - Analytics service
src/app/core/services/analytics.service.ts
Other components
- Visitor
- Browser
- NestJS backend
- PokeAPI
Connections 22
- Visitor → Browser: uses
README.md - Browser → Angular bootstrap: loads
src/main.ts - Angular bootstrap → App shell: bootstraps
src/main.ts - App shell → Root routes: navigates
src/app/app.component.ts - Root routes → Home page: loads routes
src/app/app.routes.ts - Root routes → Auth routes: loads routes
src/app/app.routes.ts - Root routes → Pokémon routes: loads routes
src/app/app.routes.ts - Root routes → My Pokémon: loads routes
src/app/app.routes.ts - Root routes → Error page: loads routes
src/app/app.routes.ts - Root routes → Authentication guards: guards access
src/app/app.routes.ts - Auth routes → Login and registration: routes to
src/app/features/authentication/authentication.routes.ts - Auth routes → Account page: routes to
src/app/features/authentication/authentication.routes.ts - Auth routes → Authentication guards: guards access
src/app/features/authentication/authentication.routes.ts - Authentication service → NestJS backend: sends auth requests
src/app/features/authentication/services/authentication.service.ts - Pokémon routes → Pokémon detail: routes to
src/app/features/pokemon/pokemon.routes.ts - Prerender routes → Pokémon service: fetches prerender IDs
src/app/app.routes.server.ts - Pokémon service → PokeAPI: integrates with
README.md - App shell → SEO service: sets basic tags
src/app/app.component.ts - App shell → Analytics service: loads analytics
src/app/app.component.ts - App shell → Shared UI: renders
src/app/app.component.ts - App shell → Cookie consent: renders
src/app/app.component.ts - Authentication service → Language service: sets request locale
src/app/features/authentication/services/authentication.service.ts