How EtheReal works
A look under the hood — flows, data, security, and the proprietary compatibility engine that powers every reading.
Web client
React · TanStack Router
API gateway
Edge functions
Database
PostgreSQL · RLS
Engine (sealed)
Black-box algorithm
Stripe + Tax
EU VAT, refunds
Resend email
Deliveries & receipts
Core flows
- 1Seeker submits both birth profiles
- 2Stripe checkout (suggested €6 · min €3)
- 3Engine API receives sanitized inputs
- 4Engine returns score + insight payload
- 5PDF generated · emailed via Resend
- 6Buyer redirected back with download
- 1Seeker browses astrologers
- 2Picks date/time → Stripe holds amount
- 3Astrologer accepts in queue
- 4Session occurs · marked complete
- 5Funds released to payout balance
- 1Seeker shares unique link
- 2Invitee signs up via referral cookie
- 3First purchase triggers reward credit
- 4Tier recalculated nightly (Stardust → Celestial)
- 1One-click Stripe checkout
- 2Order recorded · receipt emailed
- 3PDF + EPUB unlocked in dashboard
- 4Lifetime updates pushed to library
A sealed, server-side function. Inputs go in, scores come out — internal logic never leaves the runtime.
Inputs
· Profile A
· Profile B
· Intent
Outputs
· Score 0–100
· Axes (3)
· Narrative
Inputs — two birth profiles (date, time, place), optional intent ("romantic", "platonic", "creative").
Outputs — overall score, emotional/mental/spiritual axes, narrative summary, key aspects array.
Isolation — algorithm runs in a sandboxed container; no logs of internals; only signed releases deploy.
Replaceable — placeholder during dev; founder deploys the real bundle via a one-line CLI.
Data model
users
orders
readings
bookings
referrals
submissions
Security & GDPR
Row-level security
Users only see their own data; admin scoped through verified roles.
Encrypted at rest
AES-256 for PII; secrets rotated quarterly via a managed vault.
Delete on request
One-click GDPR purge across orders, readings, and submissions.