Family Tree
Content & Social · React + Node (Express) · 12 @molecule/* packages
Ancestry-lite family tree builder with people, relationships, a navigable tree view, and per-person life timelines — with built-in Stripe-backed subscription tiers
Try it
Opens instantly. Runs on sample data, so changes reset on reload.
What is inside
Screens (17)
- Landing
/ - Login
/login - Signup
/signup - ForgotPassword
/forgot-password - ResetPassword
/reset-password - Pricing
/pricing - About
/about - Privacy
/privacy - Terms
/terms - Tree
/tree(signed in) - People
/people(signed in) - PersonDetail
/people/:id(signed in) - AddPerson
/people/new(signed in) - EditPerson
/people/:id/edit(signed in) - AddRelative
/people/:id/add-relative(signed in) - Settings
/settings(signed in) - PlanUpdated
/plan-updated(signed in)
Data model (4 tables)
- people — id, user_id, first_name, last_name, maiden_name, gender, birth_date, birth_place, …
- relationships — id, user_id, from_person, to_person, kind, created_at
- devices — id, createdAt, updatedAt, userId, name, pushPlatform, pushSubscription, hasPushSubscription
- payments — id, createdAt, updatedAt, userId, transactionId, productId, platformKey, data, …
API (5 handlers)
- \_graph
api/src/handlers/_graph.ts - \_seed
api/src/handlers/_seed.ts - people
api/src/handlers/people.ts - profile
api/src/handlers/profile.ts - tree
api/src/handlers/tree.ts
Built from 12 @molecule/* packages
@molecule/api-database-postgresql@molecule/api-email-templates@molecule/api-emails-mailgun@molecule/api-entitlements@molecule/api-middleware-validation@molecule/api-payments-stripe@molecule/api-resource-payment@molecule/api-resource-user@molecule/app-billing-react@molecule/app-command-palette@molecule/app-data-table@molecule/app-timeline
Required secrets
DATABASE_URLPostgreSQL connection stringSTRIPE_SECRET_KEYStripe secret API key (sk_test_... in test mode)STRIPE_WEBHOOK_SECRETStripe webhook signing secret (whsec_...)
The @molecule/* packages are Apache-2.0. The app you build from this template is yours to export and self-host. Licensing