How backbase/golden-sample-app works
Main Architecture Components
a) Frontend Application Layer:
• Main App Container (golden-sample-app)
• Feature Journeys:
• Transactions Journey
• Transfer Journey
• ACH Positive Pay Journey
• Shared Components:
• Authentication Module
• Locale Selector
• Theme Switcher
• User Context
b) Journey Architecture Layer:
Each journey should be represented with its internal architecture:
• Feature Module
• Data Access Layer
• UI Components
• Shell Module
• Shared Data
c) Core Services Layer:
• Authentication Services
• Journey Communication Service
• Analytics Service
• Configuration Services
d) External Integration Layer:
• Mock Server
• API Services
• Authentication Server
Detailed Component Breakdown
[External Systems Layer]
• Authentication Server
• API Backend
• Mock Server (Development)
[Core Application Layer]
• App Shell
• Router
• Auth Guard
• Error Handler
• Feature Journeys
• Transactions Journey
• Feature Module
• Data Access
• UI Components
• Transfer Journey
• Feature Module
• Data Access
• UI Components
• ACH Positive Pay Journey
• Feature Module
• Data Access
• UI Components
• Shared Services
• Authentication
• Journey Communication
• Analytics
• Configuration
• Common Components
• Locale Selector
• Theme Switcher
• User Context
Important Architectural Patterns to Highlight
• Modular Architecture: Show how the application is divided into independent journey modules
• Lazy Loading: Indicate how journeys are lazy-loaded
• State Management: Show the flow of data between components
• Service Communication: Illustrate how journeys communicate through the Journey Communication Service
• Authentication Flow: Display the authentication process and guard implementation
Additional Elements
• Component types
• Connection types
• Module boundaries
• Data flow directions
Technical Details
• Angular version and key libraries
• Docker container boundaries
• E2E testing coverage
• Environment configurations
• Build pipeline integration points
This system design should effectively communicate both the high-level architecture and the detailed component interactions while highlighting the modular nature of the journey-based architecture pattern used in this Backbase application.