# quentinl-ady/myplatform-demo architecture

> Architecture diagram of the GitHub repository quentinl-ady/myplatform-demo, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/quentinl-ady/myplatform-demo
- Repository: https://github.com/quentinl-ady/myplatform-demo

## Overview

MyPlatform Demo is the Angular frontend of a marketplace/SaaS platform for merchant onboarding and payments, banking, issuing, and platform operations. A merchant enters through login or signup, then navigates a user-specific workspace to perform those domain tasks; frontend services make HTTP requests to the Spring Boot API, which integrates with Adyen. The route table directly supports the workspace branches, and the README documents the backend boundary and major capabilities. Some feature implementations and service calls were not excerpted, so those connections are not inferred beyond the documented API boundary.

Main entry points: [`frontend/src/app/routes.ts`](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/routes.ts) (Workspace routes), [`frontend/src/app/services`](https://github.com/quentinl-ady/myplatform-demo/tree/main/frontend/src/app/services) (Frontend API services), [`frontend/src/app/main/main.component.ts`](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/main/main.component.ts) (Login and signup), [`frontend/src/app/signup/signup.component.ts`](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/signup/signup.component.ts) (Merchant onboarding)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Access and workspace"]
  node_auth["Login and signup<br/>[main.component.ts]"]
  node_workspace["Workspace routes<br/>[routes.ts]"]
  node_api["Frontend API services"]
  node_onboarding["Merchant onboarding"]
  node_industry["Industry code data<br/>[industry-codes.ts]"]
  node_ui_library["Material UI<br/>[material.module.ts]"]
end

subgraph group_payments["Payments and commerce"]
  node_payments_ui["Payments and reports"]
  node_checkout["Checkout and links"]
  node_pos["Point of sale<br/>[pos.component.ts]"]
end

subgraph group_banking["Banking and transfers"]
  node_bank_account["Business account"]
  node_bank_transfer["Bank transfers"]
  node_batch_transfer["Batch transfers"]
  node_cash["Cash management"]
  node_device["Trusted devices and SCA"]
end

subgraph group_issuing["Cards and issuing"]
  node_cards["Card management"]
  node_card_create["Create cards"]
  node_card_tx["Card transactions"]
  node_issued_checkout["Issued-card checkout"]
end

subgraph group_operations["Platform operations"]
  node_dashboard["Dashboard and activity"]
  node_ops["Disputes and capital"]
  node_webhooks["Webhook notifications"]
end

node_merchant(("Merchant"))
node_backend["Spring Boot API"]
node_adyen{{"Adyen APIs"}}

node_merchant -.->|"signs in"| node_auth
node_auth -.->|"enters workspace"| node_workspace
node_workspace -->|"routes to"| node_dashboard
node_workspace -->|"routes to"| node_payments_ui
node_workspace -->|"routes to"| node_checkout
node_workspace -->|"routes to"| node_pos
node_workspace -->|"routes to"| node_bank_account
node_workspace -->|"routes to"| node_bank_transfer
node_workspace -->|"routes to"| node_batch_transfer
node_workspace -->|"routes to"| node_cash
node_workspace -->|"routes to"| node_device
node_workspace -->|"routes to"| node_cards
node_workspace -->|"routes to"| node_card_create
node_workspace -->|"routes to"| node_card_tx
node_workspace -->|"routes to"| node_issued_checkout
node_workspace -->|"routes to"| node_ops
node_workspace -->|"routes to"| node_webhooks
node_auth -->|"submits credentials"| node_api
node_onboarding -->|"uses services"| node_api
node_bank_transfer -->|"uses services"| node_api
node_device -->|"requests registration"| node_api
node_cards -->|"requests card operations"| node_api
node_issued_checkout -->|"uses payment service"| node_api
node_api -->|"HTTP requests"| node_backend
node_backend -->|"integrates with"| node_adyen
node_onboarding -->|"uses industry codes"| node_industry
node_card_create -->|"uses industry codes"| node_industry
node_workspace -.->|"loads UI components"| node_ui_library

click node_auth "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/main/main.component.ts"
click node_workspace "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/routes.ts"
click node_api "https://github.com/quentinl-ady/myplatform-demo/tree/main/frontend/src/app/services"
click node_onboarding "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/signup/signup.component.ts"
click node_dashboard "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/dashboard/dashboard.component.ts"
click node_payments_ui "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/payment/payment.component.ts"
click node_checkout "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/checkout/checkout.component.ts"
click node_pos "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/pos/pos.component.ts"
click node_bank_account "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/transfer/transfer.component.ts"
click node_bank_transfer "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/banktransfer/banktransfer.component.ts"
click node_batch_transfer "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/batch-transfer/batch-transfer.component.ts"
click node_cash "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/cash-management/cash-management.component.ts"
click node_device "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/device/device-registration.component.ts"
click node_cards "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/card-list/card-list.component.ts"
click node_card_create "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/card-create/card-create.component.ts"
click node_card_tx "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/card-transactions/card-transactions.component.ts"
click node_issued_checkout "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/issuing-checkout/issuing-checkout.component.ts"
click node_ops "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/dispute/dispute.component.ts"
click node_webhooks "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/webhooks/webhooks.component.ts"
click node_industry "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/industry-codes.ts"
click node_ui_library "https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/material.module.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_auth,node_workspace,node_api,node_onboarding,node_industry,node_ui_library toneBlue
class node_payments_ui,node_checkout,node_pos toneAmber
class node_bank_account,node_bank_transfer,node_batch_transfer,node_cash,node_device,node_backend,node_adyen toneMint
class node_cards,node_card_create,node_card_tx,node_issued_checkout toneRose
class node_dashboard,node_ops,node_webhooks,node_merchant toneIndigo
```

## Components

### Access and workspace

- [Login and signup](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/main/main.component.ts): `frontend/src/app/main/main.component.ts`
- [Workspace routes](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/routes.ts): `frontend/src/app/routes.ts`
- [Frontend API services](https://github.com/quentinl-ady/myplatform-demo/tree/main/frontend/src/app/services): `frontend/src/app/services`
- [Merchant onboarding](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/signup/signup.component.ts): `frontend/src/app/signup/signup.component.ts`
- [Industry code data](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/industry-codes.ts): `frontend/src/app/industry-codes.ts`
- [Material UI](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/material.module.ts): `frontend/src/app/material.module.ts`

### Payments and commerce

- [Payments and reports](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/payment/payment.component.ts): `frontend/src/app/payment/payment.component.ts`
- [Checkout and links](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/checkout/checkout.component.ts): `frontend/src/app/checkout/checkout.component.ts`
- [Point of sale](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/pos/pos.component.ts): `frontend/src/app/pos/pos.component.ts`

### Banking and transfers

- [Business account](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/transfer/transfer.component.ts): `frontend/src/app/transfer/transfer.component.ts`
- [Bank transfers](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/banktransfer/banktransfer.component.ts): `frontend/src/app/banktransfer/banktransfer.component.ts`
- [Batch transfers](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/batch-transfer/batch-transfer.component.ts): `frontend/src/app/batch-transfer/batch-transfer.component.ts`
- [Cash management](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/cash-management/cash-management.component.ts): `frontend/src/app/cash-management/cash-management.component.ts`
- [Trusted devices and SCA](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/device/device-registration.component.ts): `frontend/src/app/device/device-registration.component.ts`

### Cards and issuing

- [Card management](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/card-list/card-list.component.ts): `frontend/src/app/card-list/card-list.component.ts`
- [Create cards](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/card-create/card-create.component.ts): `frontend/src/app/card-create/card-create.component.ts`
- [Card transactions](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/card-transactions/card-transactions.component.ts): `frontend/src/app/card-transactions/card-transactions.component.ts`
- [Issued-card checkout](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/issuing-checkout/issuing-checkout.component.ts): `frontend/src/app/issuing-checkout/issuing-checkout.component.ts`

### Platform operations

- [Dashboard and activity](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/dashboard/dashboard.component.ts): `frontend/src/app/dashboard/dashboard.component.ts`
- [Disputes and capital](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/dispute/dispute.component.ts): `frontend/src/app/dispute/dispute.component.ts`
- [Webhook notifications](https://github.com/quentinl-ady/myplatform-demo/blob/main/frontend/src/app/webhooks/webhooks.component.ts): `frontend/src/app/webhooks/webhooks.component.ts`

### Other components

- **Merchant**
- **Spring Boot API**
- **Adyen APIs**

## Connections

- Merchant → Login and signup: signs in
- Login and signup → Workspace routes: enters workspace (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Dashboard and activity: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Payments and reports: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Checkout and links: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Point of sale: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Business account: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Bank transfers: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Batch transfers: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Cash management: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Trusted devices and SCA: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Card management: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Create cards: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Card transactions: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Issued-card checkout: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Disputes and capital: routes to (evidence: `frontend/src/app/routes.ts`)
- Workspace routes → Webhook notifications: routes to (evidence: `frontend/src/app/routes.ts`)
- Login and signup → Frontend API services: submits credentials (evidence: `frontend/src/app/services/auth.service.ts`)
- Merchant onboarding → Frontend API services: uses services (evidence: `frontend/src/app/signup/signup.component.ts`)
- Bank transfers → Frontend API services: uses services (evidence: `frontend/src/app/banktransfer/banktransfer.component.ts`)
- Trusted devices and SCA → Frontend API services: requests registration (evidence: `frontend/src/app/device/device-registration.component.ts`)
- Card management → Frontend API services: requests card operations (evidence: `frontend/src/app/card-list/card-list.component.ts`)
- Issued-card checkout → Frontend API services: uses payment service (evidence: `frontend/src/app/issuing-checkout/issuing-checkout.component.ts`)
- Frontend API services → Spring Boot API: HTTP requests (evidence: `frontend/src/app/services/session.service.ts`)
- Spring Boot API → Adyen APIs: integrates with (evidence: `README.md`)
- Merchant onboarding → Industry code data: uses industry codes (evidence: `frontend/src/app/signup/signup.component.ts`)
- Create cards → Industry code data: uses industry codes (evidence: `frontend/src/app/card-create/card-create.component.ts`)
- Workspace routes → Material UI: loads UI components
