How mustakimali/just-an-email works
Main Components
a. Frontend Layer:
• Web Interface (ASP.NET MVC Views)
• JavaScript Clients (Regular and Lite versions)
• Encryption Module (using Stanford Javascript Crypto Library)
b. Backend Layer:
• ASP.NET Core Web Application
• SignalR Hubs (ConversationHub and SecureLineHub)
• Controllers (App, Home, SecureLine)
c. Storage Layer:
• In-Memory Storage (Development)
• Redis Storage (Production)
• LiteDB (Statistics)
d. External Services:
• Azure SignalR Service (Production)
• Sentry (Error Monitoring)
Client Tier
• Web Browser
• Views (MVC Templates)
• JavaScript Modules
• Crypto Library (SJCL)
Application Tier
• ASP.NET Core Web App
• Controllers
• SignalR Hubs
• Background Jobs
Data Tier
• Storage Implementations
• Development: In-Memory
• Production: Redis + LiteDB
Key Relationships to Highlight
• Bidirectional WebSocket connections between clients and SignalR hubs
• Data flow from controllers to storage
• Demonstrate the separation between development and production configurations
• Encryption/decryption flow in the client tier
Implementation Details
• Data Models (Session, Message, ShareToken)
• Background Job Scheduler
• Health Check System
• File Streaming Capabilities
• WebSocket Communication
Architectural Patterns to Emphasize
• MVC Pattern (Controllers, Views, Models)
• Repository Pattern (IDataStore interface)
• Real-time Communication (SignalR)
• Service-based Architecture (Background Jobs, Health Checks)
Deployment architecture
This will make the documentation more manageable and easier to update as the system evolves.