How fixthestatusquo/proca-server works
Main Components
a. Core Components:
• Proca Server (Elixir)
• Web Layer (Phoenix Framework)
• GraphQL API
• Action Processing Engine
• Database Layer
• Authentication/Authorization System
b. SDK Components:
• API Client (TypeScript)
• Queue Management Library
• Crypto Library
• CLI Tool (Python)
c. Service Components:
• Multiple Sync Services:
• Emarsys Sync
• Mailchimp Sync
• Salesforce Sync
• Trust Sync
• Proca Gate (AWS Lambda)
Relationship Flows
┌─────────────────────────────────────────────────────────────┐
• External Clients │
• ▲─────────────────────────────▲──────────────┘
┌───────────────┴─────────────┐ ┌─────────┴──────────┐
• Proca SDK Components │ │ Python CLI │
• API Client │ │ Management Tool │
• Queue Library │ └──────────┬──────────┘
• Crypto Library │ │
• ┬──────────┘ │
┌──────────────▼───────────────────────────▼──────────────┐
• Proca Core Server │
• ┤
• ┌─────────────┐ ┌──────────────┐ ┌────────────┐ │
• GraphQL │ │ Phoenix │ │ Action │ │
• API │ │ Web App │ │ Processing │ │
• ┬───────┘ └──────┬───────┘ └─────┬──────┘ │
• ┌─────▼────────────────────▼──────────────────▼─────┐ │
• Data Layer │ │
• ┬┘ │
• ┬───────────────┘ │
┌─────────────────────────────────────▼─────────────────┐ │
• Sync Services │ │
• ┬────────────┬────────────┬───────────────┤ │
• Emarsys │ Mailchimp │ Salesforce │ Trust │ │
• Sync │ Sync │ Sync │ Sync │ │
• ┴────────────┴────────────┴───────────────┘ │
Important Details
a. Server Architecture:
• Phoenix/Elixir server structure
• GraphQL API endpoint
• Action processing pipeline
• Database connections
• Encryption/decryption points
b. Integration Points:
• How SDK components interact with the server
• Sync service connections
• External service integration points
c. Data Flow:
• Encrypted data paths
• Action processing flow
• Synchronization paths