System Architecture Overview

ProgNetwork is built on a modern microservices architecture designed for scalability, reliability, and ease of deployment.

Core Services

👥

User Service

Manages user accounts, authentication, and authorization across the platform.

🏢

Tenant Service

Handles multi-tenancy, organization management, and tenant-specific configurations.

💳

Payment Service

Processes payments, manages subscriptions, and handles billing operations.

📧

Email Service

Manages email communications, templates, and delivery across the platform.

🔐

Auth Client

Frontend authentication library for secure user sessions and token management.

⚙️

Admin Client

Administrative interface for managing users, tenants, and system configurations.

Architecture Diagrams

Component Architecture

System Architecture

ProgNetwork Component Architecture

A comprehensive microservices architecture with clear separation between internal and external client communication patterns.

External Clients

Webhooks

Third-party integrations

Partner APIs

External applications

Public APIs

Open integrations

API Gateway

Single entry point for external clients

AuthenticationRate LimitingRequest Routing
Internal Clients

Admin Client

Internal admin interface

Auth Client

Authentication interface

Marketing Client

Marketing interface

Event Streaming Service

HTTP Platform API & Server-Sent Events

Real-time UpdatesEvent Routing
Core Services

User Service

Authentication & user management

PostgreSQL

Email Service

Email campaigns & notifications

TypeScript + Rust

Payment Service

Payment processing & billing

PostgreSQL

Tenant Service

Multi-tenant management

PostgreSQL

Auth Service

Authentication & authorization

PostgreSQL

Monitoring Service

Logging & observability

PostgreSQL
Infrastructure

Shared Infrastructure

Common patterns & utilities

Environment Config

Standardized configuration

Vercel Deployment

Serverless hosting

Communication Patterns

External Clients

HTTP REST APIs through API Gateway

Internal Clients

Event-driven communication via HTTP Platform API / SSE

Data Flow Patterns

Data Flow Architecture

ProgNetwork Data Flow Patterns

Event-driven data flows with comprehensive audit trails and compliance monitoring across all business processes.

User Authentication & Registration Flow

User Registration

Email, password, personal info

Authentication

JWT token, session established

Email Verification

Verification token sent

Event Storage

UserCreated event stored

Data Stores

Event Store

Immutable event storage with PostgreSQL

Read Models

Optimized query projections

Cache Store

Redis for sessions & OTT tokens

Complete Business Process Workflow

Process Flow

1
Client Onboarding

User account, tenant, organization creation

2
Payment Setup

Stripe customer, payment capability

3
Campaign Creation

Target audience, campaign configuration

4
Compliance Monitoring

Real-time compliance checking

Key Features

Event Sourcing with Complete Audit Trail
Multi-Tenant Data Isolation
Built-in Compliance Checking
Cross-Domain Authentication
Real-time Event Processing
Dual Processing Architecture

Event Sourcing Pattern

Commands
Aggregates
Events
Projections
Read Models

Need More Details?

This documentation provides a high-level overview. For detailed API specifications, code examples, and integration guides, visit our Developer Hub.