{ "_meta": { "name": "WellNuo - Main Scheme", "updatedAt": "2025-12-12T20:34:51.631Z" }, "elements": [ { "id": "frontend", "name": "Frontend", "type": "module", "description": "React Native Expo приложение", "technology": "React Native, TypeScript, Expo", "position": { "x": 100, "y": 100 }, "connections_to": [ "backend", "ai_services" ], "module_ref": "system_analysis", "x": 140, "y": 192.5 }, { "id": "backend", "name": "Backend API", "type": "module", "description": "Node.js сервер для бизнес-логики", "technology": "Node.js, Express, PostgreSQL", "position": { "x": 400, "y": 100 }, "connections_to": [ "database", "ai_services", "external_apis" ], "module_ref": "system_analysis", "x": 520, "y": 287.5 }, { "id": "database", "name": "Database", "type": "module", "description": "Хранение данных пользователей и истории", "technology": "PostgreSQL, Redis (cache)", "position": { "x": 700, "y": 100 }, "connections_to": [], "module_ref": "system_analysis", "x": 900, "y": 77.5 }, { "id": "ai_services", "name": "AI Services", "type": "module", "description": "Внешние AI сервисы для обработки", "technology": "OpenAI API, OpenRouter, Speech-to-Text", "position": { "x": 400, "y": 300 }, "connections_to": [], "module_ref": "env_credentials", "x": 900, "y": 192.5 }, { "id": "external_apis", "name": "External APIs", "type": "module", "description": "Интеграция с внешними сервисами", "technology": "Calendar API, Reminders API, Payment APIs", "position": { "x": 700, "y": 300 }, "connections_to": [], "module_ref": "project_description", "x": 900, "y": 307.5 } ], "connections": [ { "from": "frontend", "to": "backend", "type": "api_calls", "description": "REST API запросы", "protocol": "HTTPS/REST" }, { "from": "backend", "to": "database", "type": "data_storage", "description": "Сохранение и получение данных", "protocol": "SQL" }, { "from": "frontend", "to": "ai_services", "type": "direct_api", "description": "Прямые вызовы AI сервисов", "protocol": "HTTPS/WebSocket" }, { "from": "backend", "to": "ai_services", "type": "ai_processing", "description": "Обработка сложных запросов", "protocol": "HTTPS" }, { "from": "backend", "to": "external_apis", "type": "integrations", "description": "Интеграция с календарем, напоминаниями", "protocol": "OAuth/REST" } ], "tagsDictionary": [] }