Changes: - Add wellnuoSheme/ folder with project documentation - Rename patients -> beneficiaries (proper WellNuo terminology) - Add BeneficiaryContext for state management - Update API service with WellNuo endpoints - Add dashboard screen for beneficiary overview - Update navigation and layout Scheme files include: - API documentation with credentials - Project description - System analysis - UX flow - Legal documents (privacy, terms, support) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
242 lines
5.7 KiB
JSON
242 lines
5.7 KiB
JSON
{
|
|
"_meta": {
|
|
"name": "WellNuo - ENV Credentials",
|
|
"updatedAt": "2025-12-12T21:01:29.331Z"
|
|
},
|
|
"elements": [
|
|
{
|
|
"id": "env_header",
|
|
"type": "card",
|
|
"title": "Environment Variables",
|
|
"borderColor": "purple",
|
|
"tags": [
|
|
"overview"
|
|
],
|
|
"description": "Конфигурация окружения для WellNuo\n\nDevelopment / Staging / Production",
|
|
"x": 140,
|
|
"y": 77.5
|
|
},
|
|
{
|
|
"id": "api_backend",
|
|
"type": "card",
|
|
"title": "Backend API ✓",
|
|
"borderColor": "green",
|
|
"tags": [
|
|
"backend",
|
|
"verified"
|
|
],
|
|
"description": "URL: https://eluxnetworks.net/function/well-api/api\nFormat: POST x-www-form-urlencoded\nParameter: function=<action>\n\nStatus: VERIFIED",
|
|
"x": 520,
|
|
"y": 398.75
|
|
},
|
|
{
|
|
"id": "api_auth",
|
|
"type": "card",
|
|
"title": "Authentication API ✓",
|
|
"borderColor": "green",
|
|
"tags": [
|
|
"backend",
|
|
"verified"
|
|
],
|
|
"description": "function=credentials\n\nParams:\n- user_name: string\n- ps: string (password)\n- clientId: string\n- nonce: string\n\nReturns: access_token, user_id, privileges",
|
|
"x": 900,
|
|
"y": 513.75
|
|
},
|
|
{
|
|
"id": "api_chat",
|
|
"type": "card",
|
|
"title": "AI Chat API ✓",
|
|
"borderColor": "green",
|
|
"tags": [
|
|
"backend",
|
|
"verified"
|
|
],
|
|
"description": "function=voice_ask\n\nParams:\n- clientId, user_name, token\n- question, deployment_id\n\nReturns: { ok: true, response: { body: 'AI response' } }",
|
|
"x": 1280,
|
|
"y": 513.75
|
|
},
|
|
{
|
|
"id": "openrouter",
|
|
"type": "card",
|
|
"title": "OpenRouter (AI Provider) ✓",
|
|
"borderColor": "green",
|
|
"tags": [
|
|
"external",
|
|
"verified"
|
|
],
|
|
"description": "Base URL: https://openrouter.ai/api/v1\nAPI Key: sk-ntEjbpTuwRei...\nModel: gpt-3.5-turbo\n\nNote: Backend использует этот провайдер",
|
|
"x": 1660,
|
|
"y": 365
|
|
},
|
|
{
|
|
"id": "gitea",
|
|
"type": "card",
|
|
"title": "Gitea Repository ✓",
|
|
"borderColor": "green",
|
|
"tags": [
|
|
"external",
|
|
"verified"
|
|
],
|
|
"description": "URL: https://gitea.serv00.org\nRepo: robert/MobileApp_react_native\nBranch: development",
|
|
"x": 140,
|
|
"y": 192.5
|
|
},
|
|
{
|
|
"id": "stripe",
|
|
"type": "card",
|
|
"title": "Stripe Payments",
|
|
"borderColor": "yellow",
|
|
"tags": [
|
|
"external",
|
|
"pending"
|
|
],
|
|
"description": "Publishable Key: pk_test_...\nSecret Key: sk_test_...\nWebhook Secret: whsec_...\nCurrency: USD\n\nStatus: PENDING",
|
|
"x": 140,
|
|
"y": 307.5
|
|
},
|
|
{
|
|
"id": "firebase",
|
|
"type": "card",
|
|
"title": "Firebase (Push)",
|
|
"borderColor": "yellow",
|
|
"tags": [
|
|
"external",
|
|
"pending"
|
|
],
|
|
"description": "Project ID: wellnuo-app\nConfig: firebase.json\nServices: FCM, Analytics\n\nStatus: PENDING",
|
|
"x": 520,
|
|
"y": 111.25
|
|
},
|
|
{
|
|
"id": "speech_services",
|
|
"type": "card",
|
|
"title": "Speech Services",
|
|
"borderColor": "gray",
|
|
"tags": [
|
|
"external",
|
|
"disabled"
|
|
],
|
|
"description": "Speech-to-Text: Google Speech API\nText-to-Speech: ElevenLabs\n\nNote: Voice features removed (text chat only)\n\nStatus: NOT NEEDED",
|
|
"x": 140,
|
|
"y": 422.5
|
|
},
|
|
{
|
|
"id": "database",
|
|
"type": "card",
|
|
"title": "Database",
|
|
"borderColor": "blue",
|
|
"tags": [
|
|
"backend"
|
|
],
|
|
"description": "Type: PostgreSQL 14+\nCache: Redis 7+\nORM: Prisma\n\nConnection: via Backend API",
|
|
"x": 900,
|
|
"y": 168.75
|
|
},
|
|
{
|
|
"id": "test_credentials",
|
|
"type": "card",
|
|
"title": "Test Credentials ✓",
|
|
"borderColor": "green",
|
|
"tags": [
|
|
"backend",
|
|
"verified"
|
|
],
|
|
"description": "Username: anandk\nPassword: anandk_8\nClientId: any unique string\n\nFor development testing only!",
|
|
"x": 520,
|
|
"y": 523.75
|
|
},
|
|
{
|
|
"id": "expo_config",
|
|
"type": "card",
|
|
"title": "Expo Configuration ✓",
|
|
"borderColor": "green",
|
|
"tags": [
|
|
"frontend",
|
|
"verified"
|
|
],
|
|
"description": "SDK: 54\nReact Native: 0.81.5\nRouter: Expo Router 6.x\n\napp.json / eas.json configured",
|
|
"x": 140,
|
|
"y": 537.5
|
|
}
|
|
],
|
|
"connections": [
|
|
{
|
|
"from": "env_header",
|
|
"to": "api_backend",
|
|
"label": "backend"
|
|
},
|
|
{
|
|
"from": "env_header",
|
|
"to": "openrouter",
|
|
"label": "AI"
|
|
},
|
|
{
|
|
"from": "env_header",
|
|
"to": "firebase",
|
|
"label": "push"
|
|
},
|
|
{
|
|
"from": "api_backend",
|
|
"to": "api_auth",
|
|
"label": "auth"
|
|
},
|
|
{
|
|
"from": "api_auth",
|
|
"to": "api_chat",
|
|
"label": "chat"
|
|
},
|
|
{
|
|
"from": "api_chat",
|
|
"to": "openrouter"
|
|
},
|
|
{
|
|
"from": "api_backend",
|
|
"to": "database"
|
|
},
|
|
{
|
|
"from": "test_credentials",
|
|
"to": "api_auth"
|
|
},
|
|
{
|
|
"from": "expo_config",
|
|
"to": "api_backend"
|
|
}
|
|
],
|
|
"tagsDictionary": [
|
|
{
|
|
"id": "tag-frontend",
|
|
"name": "frontend",
|
|
"color": "green"
|
|
},
|
|
{
|
|
"id": "tag-backend",
|
|
"name": "backend",
|
|
"color": "blue"
|
|
},
|
|
{
|
|
"id": "tag-external",
|
|
"name": "external",
|
|
"color": "orange"
|
|
},
|
|
{
|
|
"id": "tag-verified",
|
|
"name": "verified",
|
|
"color": "lime"
|
|
},
|
|
{
|
|
"id": "tag-pending",
|
|
"name": "pending",
|
|
"color": "yellow"
|
|
},
|
|
{
|
|
"id": "tag-disabled",
|
|
"name": "disabled",
|
|
"color": "gray"
|
|
},
|
|
{
|
|
"id": "tag-overview",
|
|
"name": "overview",
|
|
"color": "purple"
|
|
}
|
|
]
|
|
} |