Skip to main content

User Stories

Modular documentation of end-to-end user journeys for each role in Syntropy Health.

Documents

DocRoleCovers
Individual User StoryIndividual (consumer)Onboarding, dashboard, check-ins, AI chat, marketplace subscriptions, protocols, settings, Slack
Partner User StoryPartner (DTC brand)Onboarding, portal, protocol CRUD, Shopify sync, adherence analytics, lounge
Shared User StoriesCross-roleStore referral attribution, protocol discovery, data sharing opt-in

Architecture Reference

For cross-cutting technical details (auth guards, page wrappers, state chain, background jobs), see:

Demo Accounts

Both roles use real Clerk authentication. Seed data (make run seed) populates the local DB with sample check-ins, protocols, and an API key.
RoleHow to DemoClerk Metadata
IndividualSign in at /sign-in with any Clerk dev userDefault (role absent or "individual")
PartnerSign in at /partners/sign-in with a Clerk user that has partner metadata{"role": "partner"} in public_metadata + Clerk org membership

Seeded Demo Data

Run make run seed to populate:
EntityCountDescription
Users2Individual (Alex Rivera) + Partner (Jordan Chen)
Check-ins8text(3), voice(2), chat(1), phone(1), pending(1)
Medications4Metformin, Vitamin D3, Magnesium, Ibuprofen
Food logs4Oatmeal, green tea, chicken salad, smoothie
Symptoms3Knee discomfort, insomnia, headache + fatigue
Protocol1Daily Vitamin D Protocol (30 days)
Protocol check-ins107 taken, 2 skipped, 1 missed
Notifications4ALERT, SUGGESTION, TIPS, PROTOCOL_REMINDER
Catalog items4D3+K2, Omega-3, Magnesium, Probiotic
Marketplace tables2ShopifyProtocolSync (bridge), UserProtocolSubscription (follow/subscribe)
Admin token1Clerk-issued token for API/Slack commands (legacy sh_* key also seeded for compat)
Store1Chen Wellness Co (referral code: store-chen-well-a1b2)
Store referrals32 clicked + 1 signed_up demo referral events
Seed data files live in syntropy_journals/app/data/seed/ and the entry point is syntropy_journals/app/scripts/seed_data.py.

Running Demos

See the “Demo Run” section in each user story doc for step-by-step instructions.