+-------------+ +------------+ +--------------+
| Client Apps | <----> | WebSockets | -----> | Chat Service |
+-------------+ +------------+ +--------------+
|
v
+----------------+
| Message Service|
+----------------+
|
+-------------------------+--------------------+
| |
v v
+--------------+ +-----------------+
| NATS |<----------------------------->| Group Service |
+--------------+ +-----------------+
|
v
+-----------------------------+
| Databases/Persistence |
+-----------------------------+ +----------------------+
| EQUIX |
+----------------------+
^ ^
Authentication: | | Authorization:
SAML | | OIDC Token Exchange
| |
+-------+--------+
| Auth Server |
| (Authen+Authz) |
| |
+-------+--------+
|
+-------------------------------+
| Role & Permission Table |
+-------------------------------+
^
|
+------------+ HTTPS |
| | ----------> |
| Reverse | |
| Proxy | -------+ |
| (Traefik) | | |
+------------+ | |
^ | |
| HTTPS | |
+-----------+ | |
| Users & |----------+ |
| Internet | |
+-----------+ v
+---------------------+
| Gateway |
+---------+-----------+
|
+-----------+-------------+---------+--------------+-----------+
| | | | | |
v v v v v v
+--------------+ +-----------------------+ +------------------+ +--------------------+ +-------------+
| Order Mgmt | | Portfolio Profile Mgmt| | Account Mgmt | | Portfolio Optimize | | Community |
+--------------+ +-----------------------+ +------------------+ +--------------------+ +-------------+
^ ^ ^ ^ ^
|_______________|_____________|____________|________________|
API calls (HTTPS, Token-based or RPC)+--------------+ +----------------+ +------------------+ +--------------+
| Web Client |<-->| API Gateway |-->| NestJS Servers |-->| Media Store |
+--------------+ +----------------+ +------------------+ +--------------+
| | | |
v v v v
+----------+ +------------------+
| Database | | Redis/Queue |
+----------+ +------------------+
| |
v v
+---------------------------+
| Notification & Messaging |
| Services (WebSocket, |
| Push, Email, SMS) |
+---------------------------++--------------+ +------------------+ +-----------------+
| Web Client | <----> | Next.js Server | <----> | Node.js API |
+--------------+ +------------------+ +-----------------+
| | |
| | |
v v v
+----------+ +---------+ +---------+
|Python | | Database| | Queue |
|Workers | | (e.g., | |System |
|(Celery) | |Postgres)| |(Redis) |
+----------+ +---------+ +---------+