Platform Architecture
mindLAMP is built on a Node.js backend with DocumentDB (CouchDB-compatible) storage and Redis caching. The platform exposes a REST API that serves both the dashboard and the mobile apps.
In This Section
Platform Components
The major platform components and how they communicate.
Data Flow
How data moves from sensor collection on a device through the API to storage and retrieval.
Low-Power Mode
Proxy mode that reduces battery and bandwidth consumption by batching data transmissions.
App Gateway
Push notification architecture for iOS and Android.
Key Design Principles
- API-first — All functionality is accessible through the REST API. The dashboard and mobile apps are clients with no privileged access.
- Credential hierarchy — Access is scoped by a three-level hierarchy: server administrators, researchers/clinicians, and participants.
- Extensibility — Custom activities, automations, and integrations are built on top of the API without modifying the core platform.