Code & API Reference
📊
Lines of Code159,348 LOC
🛡️
Code Health99.8% (A+)
🔒
EncryptionAES-256-GCM
⚡
Architecture7 Microservices
📱
PlatformsAndroid & Desktop
🎨
Appearance16 Themes
Welcome to the BetweenUs Code Reference. Below is the live source-code explorer displaying the actual source files directly from the codebase with every JSDoc, KDoc, and Prisma documentation comment intact.
Use the tabs to switch between shared TypeScript contracts, the PostgreSQL Prisma schema, WebSocket gateways, and Android E2EE cryptography. You can search across all symbols, filter to documentation comments only, or view and copy the full source.
Direct Code Reference Modules
For focused deep-dives into each subsystem, explore the documentation guides below:
- Shared Types & DTO Contracts: Complete TypeScript interfaces, DTOs, and protocol contracts from
packages/shared-types. - REST API Endpoints: Full HTTP REST specifications, request/response DTOs, and headers for all microservices.
- WebSocket Gateway Protocol: Event opcodes, frame formats, and switchboard signaling for
/ws/chatand/ws/call. - Database Schema & Prisma Models: PostgreSQL models, relations, field constraints, and comments from
packages/database. - Android Core Architecture & Crypto: Native Kotlin data classes, Room entities, and Android KeyStore cryptographic primitives.