12 Commits

Author SHA1 Message Date
Sergei
3c8a9fc336 Add Node.js backend with Stripe integration and admin panel
Backend features:
- Express.js API server
- Supabase database integration
- Stripe Checkout for payments ($249 kit + $9.99/mo premium)
- Stripe webhooks for payment events
- Admin panel with order management
- Auth middleware with JWT
- Email service via Brevo

API endpoints:
- /api/stripe/* - Payment processing
- /api/webhook/stripe - Stripe webhooks
- /api/admin/* - Admin operations
- /function/well-api/api - Legacy API proxy

Database migrations:
- orders, subscriptions, push_tokens tables

Schemes updated:
- Removed updatedAt from all schemes
- Updated credentials section with live values
- Added Stripe configuration details

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 09:49:24 -08:00
Sergei
e9a18cc95d Add Supabase Storage info to scheme
- Added media bucket structure (avatars, floor-plans, documents, reports)
- Added storage URL pattern

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-18 13:24:27 -08:00
Sergei
0c9eb0c088 Add Supabase migration and update schemes
- Migrated PostgreSQL data to Supabase (531 rows total)
- Added Supabase Database card to ENV scheme
- Added migration SQL files and CSV exports
- Tables: deployments(45), devices(455), person_details(8), deployment_details(23)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-18 13:14:42 -08:00
Sergei
4c84eaa70d Add TestFlight URL and EAS Project ID to scheme 2025-12-12 20:24:35 -08:00
Sergei
7345f7938f Update build number after TestFlight submission
Build #3 submitted to TestFlight:
- Version: 1.0.0
- Bundle ID: com.wellnuo.app
- ASC App ID: 6756504446

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 17:37:17 -08:00
Sergei
8c820cb70a Fix Bundle ID and ASC App ID for App Store Connect
Updated to match existing App Store Connect app:
- Bundle ID: com.wellnuo.app (was com.kosyakorel1.wellnuo)
- ASC App ID: 6756504446 (was 6755984871)
- Added SKU: EX1765577542748

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 17:29:40 -08:00
Sergei
e24c81fb2a Update build number to 2 in scheme 2025-12-12 17:24:51 -08:00
Sergei
43b924df4a Add EAS Build & Deploy documentation to scheme
- Updated Git Repository card with commands
- Added EAS Build & Deploy card with:
  - App info (version, bundle ID, ASC App ID)
  - Apple account info
  - Build commands
  - Build profiles

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 17:19:13 -08:00
Sergei
074433f164 Sync all changes - profile restructure and scheme updates
- Restructured profile screens location
- Updated beneficiary detail page
- Updated API service
- Updated all scheme files (MainScheme, ENV API, Discussion, AppStore, SysAnal)
- Added PageHeader component

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 16:48:07 -08:00
Sergei
aed5b52c04 Document voice_ask working keywords from testing
Tested AI Chat API with different queries:

WORKING (return real patient data):
- "how is dad" / "how is mom" → full status report
- "bathroom" → restroom usage times
- "kitchen" → cooking activity
- "sleep" / "night" → sleep hours, wake ups
- "shower" → shower history
- "temperature" → room temperature (verified!)
- "last seen" → online status

NOT WORKING (generic AI responses):
- status, summary, location, daily report

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 16:21:21 -08:00
Sergei
b5117943bf Update API documentation with dashboard_single endpoint
Added from code analysis (services/api.ts, types/index.ts):
- NEW: dashboard_single API with full request/response structure
- Updated voice_ask with complete ChatResponse (Command, body, language)
- Updated deployment_ids with clearer explanation
- Added mobile_data_model card with Beneficiary interface
- Updated integration_notes with native API flow
- Added new connections between API endpoints

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 16:06:49 -08:00
Sergei
af148faa40 Add scheme files, beneficiaries module, dashboard improvements
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>
2025-12-12 13:38:38 -08:00