WellNuo/wellnuoSheme/04_AppStorePublication.json
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

575 lines
20 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_meta": {
"name": "App Store Publication",
},
"elements": [
{
"id": "header",
"type": "card",
"title": "WellNuo - App Store Publication",
"borderColor": "purple",
"tags": [
"overview"
],
"description": "**Goal:** Publish WellNuo in App Store\n\n**Two phases:**\n1. **PREPARATION** - create pages, texts, materials\n2. **PUBLICATION** - upload to App Store Connect\n\n**Contact:**\nbernhard@wellnuo.com\n+1-408-647-7068",
"x": 140,
"y": 50
},
{
"id": "prep_header",
"type": "card",
"title": "📁 PREPARATION",
"borderColor": "orange",
"tags": [
"prep",
"overview"
],
"description": "**Everything to do BEFORE publication**\n\n**Sections:**\n• Website pages (3 URLs)\n• App Store texts\n• Design materials\n• Technical settings\n• Demo account\n\n**Website:** wellnuo.smartlaunchhub.com\n(Future: wellnuo.com)",
"x": 920.0125122070312,
"y": -127.84777069091797
},
{
"id": "prep_privacy",
"type": "card",
"title": "📄 Privacy Policy",
"borderColor": "red",
"tags": [
"prep",
"website"
],
"description": "**URL:** https://wellnuo.smartlaunchhub.com/privacy\n\n**Page sections:**\n\n1. **Data Collected:** Email, activity data, device info\n\n2. **How Used:** Monitoring, alerts, reports\n\n3. **AI Disclosure:** OpenAI GPT API. Anonymized data only. User consent required.\n\n4. **Sharing:** NO selling. Only: family, legal, providers.\n\n5. **Security:** AES-256 encryption\n\n6. **Rights:** Access, correct, delete\n\n7. **Children:** Not for under 13\n\n**Contact:** support@wellnuo.com",
"x": 520,
"y": 150
},
{
"id": "prep_terms",
"type": "card",
"title": "📄 Terms of Service",
"borderColor": "red",
"tags": [
"prep",
"website"
],
"description": "**URL:** https://wellnuo.smartlaunchhub.com/terms\n\n**Key points:**\n\n1. **NOT a medical device** - not a replacement for doctor and 911\n\n2. **Subscriptions** - via Apple, auto-renew\n\n3. **Liability** - not responsible for sensor failures\n\n4. **Apple EULA** - link to standard\n\n5. **Governing Law** - California, USA\n\n**Contact:** support@wellnuo.com",
"x": 520,
"y": 350
},
{
"id": "prep_support",
"type": "card",
"title": "📄 Support Page",
"borderColor": "red",
"tags": [
"prep",
"website"
],
"description": "**URL:** https://wellnuo.smartlaunchhub.com/support\n\n**Contacts:**\nEmail: support@wellnuo.com\nPhone: +1-408-647-7068\nHours: Mon-Fri, 9AM-6PM PST\nResponse: 24-48 hours\n\n**FAQ topics:**\n- How does WellNuo work?\n- Data security\n- Cancel subscription\n- Adding family\n- Delete account\n\n**Troubleshooting:**\n- Crashes → restart\n- No alerts → settings\n- Sensors → Bluetooth",
"x": 520,
"y": 550
},
{
"id": "prep_app_name",
"type": "card",
"title": "📋 App Name & Info",
"borderColor": "lime",
"tags": [
"prep",
"appstore"
],
"description": "**App Name (30 chars):**\nWellNuo - Senior Care Monitor\n\n**Subtitle (30 chars):**\nElderly Wellness Tracking\n\n**Bundle ID:**\ncom.wellnuo.BluetoothScanner\n(current in EAS Build)\n\n**SKU:**\nWELLNUO-SENIOR-001\n\n**Primary Category:**\nHealth & Fitness\n\n**Secondary:**\nLifestyle\n\n**Copyright:**\n© 2025 ZMR Inc.",
"x": 900,
"y": 150
},
{
"id": "prep_keywords",
"type": "card",
"title": "📋 Keywords (97/100)",
"borderColor": "lime",
"tags": [
"prep",
"appstore"
],
"description": "**COPY:**\n\nsenior care,elderly monitor,family safety,wellness tracker,aging parents,remote care,health alerts\n\n**Rules:**\n- No spaces after commas\n- No words from title\n- No plurals",
"x": 900,
"y": 350
},
{
"id": "prep_description",
"type": "card",
"title": "📋 Description",
"borderColor": "lime",
"tags": [
"prep",
"appstore"
],
"description": "**COPY:**\n\nCare for your loved ones while preserving their independence. WellNuo is a smart wellness monitoring system designed for elderly family members.\n\nWORRIED ABOUT AGING PARENTS LIVING ALONE?\nWellNuo gives you peace of mind with activity pattern monitoring and instant alerts when something seems unusual.\n\n◆ PRIVACY-FIRST APPROACH\nNo cameras. No microphones. No intrusion.\n\n◆ INSTANT ALERTS\nGet notified immediately when unusual inactivity is detected.\n\n◆ DAILY WELLNESS REPORTS\nTrack trends with easy-to-read reports.\n\n◆ FAMILY SHARING\nConnect the whole family.\n\n◆ AI-POWERED INSIGHTS (Premium)\nSmart analysis detects subtle changes.\n\nFREE:\n• Basic monitoring\n• Emergency alerts\n• 1 family member\n• 7-day history\n\nPREMIUM:\n• Unlimited history\n• AI analysis\n• Unlimited family\n• Priority support\n\nNOT a medical device.\n\nsupport@wellnuo.com\nwellnuo.smartlaunchhub.com",
"x": 900,
"y": 550
},
{
"id": "prep_promo",
"type": "card",
"title": "📋 Promotional Text",
"borderColor": "lime",
"tags": [
"prep",
"appstore"
],
"description": "**COPY (170 chars max):**\n\nCare for your aging parents with peace of mind. WellNuo monitors wellness patterns without cameras - privacy first approach to elderly care.\n\n*Can change without review!*",
"x": 1280,
"y": 150
},
{
"id": "prep_whats_new",
"type": "card",
"title": "📋 What's New (v1.0)",
"borderColor": "lime",
"tags": [
"prep",
"appstore"
],
"description": "**COPY:**\n\nWelcome to WellNuo!\n\n• Real-time activity monitoring\n• Instant alert notifications\n• Daily and weekly wellness reports\n• Family sharing and coordination\n• Privacy-focused design\n• Sign in with Apple support\n\nStart caring smarter today.",
"x": 1280,
"y": 350
},
{
"id": "prep_review_notes",
"type": "card",
"title": "📋 Review Notes",
"borderColor": "lime",
"tags": [
"prep",
"appstore"
],
"description": "**COPY:**\n\nThis app monitors elderly wellness through activity pattern analysis.\n\nDEMO ACCOUNT:\nThe demo account has 30 days of simulated sensor data. No physical hardware required for testing.\n\nFEATURES TO TEST:\n1. Dashboard - activity overview\n2. Alerts - notifications\n3. Reports - daily/weekly stats\n4. Settings - privacy controls\n5. Family - add members\n\nAI features use OpenAI API (disclosed in privacy policy).\n\nContact: support@wellnuo.com",
"x": 1280,
"y": 550
},
{
"id": "prep_demo",
"type": "card",
"title": "🔑 Demo Account",
"borderColor": "green",
"tags": [
"prep"
],
"description": "**For Apple Review:**\n\n**Email:** demo@wellnuo.com\n**Password:** WellNuoDemo2025!\n\n**Requirements:**\n- 30 days of simulated data\n- Premium subscription active\n- All features work\n- No real hardware needed\n\n**Contact:**\nFirst: Bernhard\nLast: Knigge\nPhone: +1-408-647-7068\nEmail: bernhard@wellnuo.com",
"x": 1660,
"y": 150
},
{
"id": "prep_screenshots",
"type": "card",
"title": "📱 Screenshots",
"borderColor": "pink",
"tags": [
"prep",
"design"
],
"description": "**Sizes:**\n\n**iPhone 6.7\" (required):**\n1290×2796 px\n\n**iPhone 6.5\":**\n1284×2778 px\n\n**iPhone 5.5\" (older):**\n1242×2208 px\n\n**Screens (3-10 pcs):**\n1. Dashboard\n2. Alerts\n3. Reports\n4. Settings\n5. Family",
"x": 1660,
"y": 350
},
{
"id": "prep_icon",
"type": "card",
"title": "🎨 App Icon",
"borderColor": "pink",
"tags": [
"prep",
"design"
],
"description": "**Size:** 1024×1024 PNG\n\n**Requirements:**\n- No transparency (no alpha)\n- No rounded corners\n- Clear at all sizes\n\n**Style:**\nHeart/care, blue gradient",
"x": 1592.44091796875,
"y": 511.067626953125
},
{
"id": "prep_iap",
"type": "card",
"title": "💰 In-App Purchases",
"borderColor": "orange",
"tags": [
"prep",
"appstore"
],
"description": "**Monthly:**\nID: com.wellnuo.premium.monthly\nPrice: $4.99/month\nName: WellNuo Premium\nDesc: Unlock unlimited history, AI insights, and family connections.\n\n**Yearly:**\nID: com.wellnuo.premium.yearly\nPrice: $49.99/year\nName: WellNuo Premium (Annual)\nDesc: Save 17% with annual subscription.\n\n**Lifetime:**\nID: com.wellnuo.lifetime\nPrice: $149.99\nName: WellNuo Lifetime\nDesc: One-time purchase for lifetime access.\n\n**Trial:** 7 days",
"x": 1115.09814453125,
"y": 637.2400722503662
},
{
"id": "prep_age_rating",
"type": "card",
"title": "📋 Age Rating (4+)",
"borderColor": "teal",
"tags": [
"prep",
"appstore"
],
"description": "**Questionnaire answers:**\n\nViolence: **None**\nSexual Content: **None**\nProfanity: **None**\nDrugs: **None**\nGambling: **None**\nHorror: **None**\nMedical Info: **Infrequent/Mild**\nWeb Access: **No**\nContests: **No**\n\n**Result: 4+**",
"x": 2040,
"y": 350
},
{
"id": "prep_export",
"type": "card",
"title": "📋 Export Compliance",
"borderColor": "teal",
"tags": [
"prep",
"appstore"
],
"description": "**Q: Uses encryption?**\nA: Yes\n\n**Q: Qualifies for exemption?**\nA: Yes - Standard HTTPS/TLS only.\n\nQualifies under Note 4 to Category 5, Part 2 of EAR.\n\nNo custom encryption algorithms.",
"x": 2040,
"y": 550
},
{
"id": "prep_info_plist",
"type": "card",
"title": "📋 Info.plist Keys",
"borderColor": "cyan",
"tags": [
"prep",
"tech"
],
"description": "**NSLocationWhenInUseUsageDescription:**\nWellNuo uses your location to detect when you arrive home or leave, helping monitor daily activity patterns.\n\n**NSCameraUsageDescription:**\nWellNuo uses the camera to scan QR codes when setting up devices.\n\n**NSHealthShareUsageDescription:**\nWellNuo reads health data to provide wellness monitoring.\n\n**NSUserNotificationsUsageDescription:**\nWellNuo sends notifications about wellness updates.",
"x": 2420,
"y": 150
},
{
"id": "prep_privacy_labels",
"type": "card",
"title": "📋 App Privacy Labels",
"borderColor": "cyan",
"tags": [
"prep",
"appstore"
],
"description": "**Data Collected:**\n\n✓ Contact Info (Email)\n - Linked: Yes\n - Purpose: App Functionality\n\n✓ Health & Fitness\n - Linked: Yes\n - Purpose: App Functionality\n\n✓ Identifiers (User ID)\n - Linked: Yes\n - Purpose: App Functionality\n\n✓ Usage Data\n - Linked: No\n - Purpose: Analytics\n\n✓ Diagnostics\n - Linked: No\n - Purpose: App Functionality\n\n**Tracking:** No",
"x": 2420,
"y": 350
},
{
"id": "prep_build",
"type": "card",
"title": "🔨 Build & TestFlight",
"borderColor": "teal",
"tags": [
"prep",
"tech"
],
"description": "**Commands:**\n```\neas build --platform ios\neas submit --platform ios\n```\n\n**Requirements:**\n- iOS 17.0+ minimum\n- Xcode 15.2+\n- No crashes for 24h\n\n**TestFlight:**\n- Internal: up to 100 testers\n- External: requires Beta Review",
"x": 2420,
"y": 550
},
{
"id": "prep_checklist",
"type": "card",
"title": "✅ Preparation Checklist",
"borderColor": "green",
"tags": [
"prep",
"checklist"
],
"description": "**Before publication:**\n\n**Website:**\n□ wellnuo.smartlaunchhub.com/privacy works\n□ wellnuo.smartlaunchhub.com/terms works\n□ wellnuo.smartlaunchhub.com/support works\n\n**Materials:**\n□ Screenshots ready\n□ App Icon 1024x1024\n□ All texts ready\n\n**Technical:**\n□ Demo account works\n□ Build in TestFlight\n□ No crashes for 24h",
"x": 1017.3814697265625,
"y": 804.5396423339844
},
{
"id": "pub_header",
"type": "card",
"title": "🚀 PUBLICATION",
"borderColor": "blue",
"tags": [
"pub",
"overview"
],
"description": "**App Store Connect**\n\n**URL:** appstoreconnect.apple.com\n\n**Steps:**\n1. Apple Developer Account\n2. Create App\n3. Fill in fields\n4. Submit to Review\n\n**Review Time:** 24-48 hours",
"x": 173.6695556640625,
"y": 1002.0176391601562
},
{
"id": "pub_account",
"type": "card",
"title": "👤 Apple Developer Account",
"borderColor": "purple",
"tags": [
"pub"
],
"description": "**URL:** developer.apple.com/enroll\n**Cost:** $99/year\n\n**Type:** Organization\n\n**Required:**\n- D-U-N-S Number\n- Legal company name\n- Website\n- Phone for verification\n\n**Time:** 1-7 days",
"x": 553.6695556640625,
"y": 952.0176391601562
},
{
"id": "pub_create",
"type": "card",
"title": " Create App",
"borderColor": "blue",
"tags": [
"pub"
],
"description": "**My Apps → + → New App**\n\n**Fill in:**\n- Platform: iOS\n- Name: WellNuo - Senior Care Monitor\n- Primary Language: English\n- Bundle ID: com.wellnuo.BluetoothScanner\n- SKU: WELLNUO-SENIOR-001\n\n**User Access:** Full Access",
"x": 553.6695556640625,
"y": 1152.0176391601562
},
{
"id": "pub_app_info",
"type": "card",
"title": "📝 App Information",
"borderColor": "blue",
"tags": [
"pub"
],
"description": "**App Information Section:**\n\n**Subtitle:**\nElderly Wellness Tracking\n\n**Category:**\nPrimary: Health & Fitness\nSecondary: Lifestyle\n\n**Content Rights:**\nDoes not contain third-party content\n\n**Age Rating:**\nFill questionnaire → **4+**",
"x": 933.6695556640625,
"y": 952.0176391601562
},
{
"id": "pub_pricing",
"type": "card",
"title": "💰 Pricing",
"borderColor": "orange",
"tags": [
"pub"
],
"description": "**Schedule → Price:**\nBase Price: **Free**\n\n**Availability:**\nAll territories\n\n**In-App Purchases:**\nCreate 3 products from preparation\n\n**Subscriptions:**\nGroup: WellNuo Premium\nTrial: 7 days",
"x": 933.6695556640625,
"y": 1152.0176391601562
},
{
"id": "pub_version",
"type": "card",
"title": "📋 Version Info",
"borderColor": "blue",
"tags": [
"pub"
],
"description": "**iOS App → 1.0:**\n\n1. **Screenshots** - upload\n2. **Promotional Text** - from preparation\n3. **Description** - from preparation\n4. **Keywords** - from preparation\n5. **Support URL** - wellnuo.smartlaunchhub.com/support\n6. **Marketing URL** - wellnuo.smartlaunchhub.com\n7. **What's New** - from preparation\n8. **Build** - select from TestFlight",
"x": 1313.6695556640625,
"y": 952.0176391601562
},
{
"id": "pub_review",
"type": "card",
"title": "🔍 App Review",
"borderColor": "green",
"tags": [
"pub"
],
"description": "**Sign-In Required:** Yes\n\n**Demo Account:**\nEmail: demo@wellnuo.com\nPassword: WellNuoDemo2025!\n\n**Contact:**\nFirst: Bernhard\nLast: Knigge\nPhone: +1-408-647-7068\nEmail: bernhard@wellnuo.com\n\n**Notes:** paste from preparation",
"x": 1313.6695556640625,
"y": 1152.0176391601562
},
{
"id": "pub_privacy",
"type": "card",
"title": "🔒 App Privacy",
"borderColor": "red",
"tags": [
"pub"
],
"description": "**Privacy Policy URL:**\nhttps://wellnuo.smartlaunchhub.com/privacy\n\n**Data Collection:**\nFill according to App Privacy Labels checklist\n\n**Tracking:** No\n\n**Third-Party SDKs:**\nOpenAI API (disclosed)",
"x": 1693.6695556640625,
"y": 952.0176391601562
},
{
"id": "pub_submit",
"type": "card",
"title": "📤 Submit",
"borderColor": "lime",
"tags": [
"pub"
],
"description": "**Final steps:**\n\n1. ✓ All fields filled\n2. ✓ URLs work\n3. ✓ Build selected\n4. ✓ Screenshots uploaded\n5. **Add for Review**\n6. **Submit to App Review**\n\n**Review:** 24-48 hours\n**Release:** Automatic",
"x": 1693.6695556640625,
"y": 1152.0176391601562
}
],
"connections": [
{
"from": "header",
"to": "prep_header",
"label": "1"
},
{
"from": "header",
"to": "pub_header",
"label": "2"
},
{
"from": "prep_header",
"to": "prep_privacy"
},
{
"from": "prep_header",
"to": "prep_app_name"
},
{
"from": "prep_header",
"to": "prep_demo"
},
{
"from": "prep_header",
"to": "prep_iap"
},
{
"from": "prep_header",
"to": "prep_info_plist"
},
{
"from": "prep_privacy",
"to": "prep_terms"
},
{
"from": "prep_terms",
"to": "prep_support"
},
{
"from": "prep_app_name",
"to": "prep_keywords"
},
{
"from": "prep_keywords",
"to": "prep_description"
},
{
"from": "prep_description",
"to": "prep_promo"
},
{
"from": "prep_promo",
"to": "prep_whats_new"
},
{
"from": "prep_whats_new",
"to": "prep_review_notes"
},
{
"from": "prep_demo",
"to": "prep_screenshots"
},
{
"from": "prep_screenshots",
"to": "prep_icon"
},
{
"from": "prep_iap",
"to": "prep_age_rating"
},
{
"from": "prep_age_rating",
"to": "prep_export"
},
{
"from": "prep_info_plist",
"to": "prep_privacy_labels"
},
{
"from": "prep_privacy_labels",
"to": "prep_build"
},
{
"from": "prep_support",
"to": "prep_checklist"
},
{
"from": "prep_review_notes",
"to": "prep_checklist"
},
{
"from": "prep_icon",
"to": "prep_checklist"
},
{
"from": "prep_export",
"to": "prep_checklist"
},
{
"from": "prep_build",
"to": "prep_checklist"
},
{
"from": "prep_checklist",
"to": "pub_header",
"label": "Done →"
},
{
"from": "pub_header",
"to": "pub_account"
},
{
"from": "pub_account",
"to": "pub_create"
},
{
"from": "pub_create",
"to": "pub_app_info"
},
{
"from": "pub_app_info",
"to": "pub_pricing"
},
{
"from": "pub_app_info",
"to": "pub_version"
},
{
"from": "pub_version",
"to": "pub_review"
},
{
"from": "pub_review",
"to": "pub_privacy"
},
{
"from": "pub_pricing",
"to": "pub_privacy"
},
{
"from": "pub_privacy",
"to": "pub_submit"
}
],
"tagsDictionary": [
{
"id": "tag-overview",
"name": "overview",
"color": "purple"
},
{
"id": "tag-prep",
"name": "prep",
"color": "orange"
},
{
"id": "tag-pub",
"name": "pub",
"color": "blue"
},
{
"id": "tag-website",
"name": "website",
"color": "red"
},
{
"id": "tag-appstore",
"name": "appstore",
"color": "lime"
},
{
"id": "tag-design",
"name": "design",
"color": "pink"
},
{
"id": "tag-tech",
"name": "tech",
"color": "teal"
},
{
"id": "tag-checklist",
"name": "checklist",
"color": "green"
}
]
}