Wiki / Knowledge Base
Content & Social · React + Node (Express) · 17 @molecule/* packages
Notion wiki-like with versioned pages, linking, and permissions — with built-in Stripe-backed subscription tiers
Try it
Opens instantly. Runs on sample data, so changes reset on reload.
What is inside
Screens (18)
- Landing
/ - Login
/login - Signup
/signup - ForgotPassword
/forgot-password - ResetPassword
/reset-password - Home
/home(signed in) - PageView
/page/:id(signed in) - PageEditor
/page/:id/edit(signed in) - Search
/search(signed in) - VersionHistory
/page/:id/history(signed in) - Settings
/settings(signed in) - Spaces
/spaces(signed in) - Templates
/templates(signed in) - Notifications
/notifications(signed in) - Comments
/comments(signed in) - TeamMembers
/team(signed in) - Trash
/trash(signed in) - Profile
/profile/:id(signed in)
Data model (12 tables)
- comments — id, resourceType, resourceId, userId, parentId, body, editedAt, createdAt, …
- devices — id, createdAt, updatedAt, userId, name, pushPlatform, pushSubscription, hasPushSubscription
- resource_tags — id, tagId, resourceType, resourceId, createdAt
- tags — id, name, slug, color, description, createdAt, updatedAt
- wiki_page_versions — id, page_id, title, content, version, change_summary, editor_id, created_at
- wiki_pages — id, space_id, parent_id, title, slug, content, summary, is_template, …
- wiki_space_members — id, space_id, user_id, role, invited_by, accepted_at, created_at
- wiki_spaces — id, owner_id, name, slug, description, icon, color, visibility, …
- wiki_notifications — id, user_id, kind, title, body, page_id, actor_id, read_at, …
- wiki_audit_log — id, space_id, actor_id, target_user_id, action, metadata, created_at
- wiki_user_prefs — user_id, workspace_name, subdomain, default_landing, theme, locale, notify_mentions, notify_replies, …
- payments — id, createdAt, updatedAt, userId, transactionId, productId, platformKey, data, …
API (5 handlers)
- me
api/src/handlers/me.ts - notifications
api/src/handlers/notifications.ts - pages
api/src/handlers/pages.ts - prefs
api/src/handlers/prefs.ts - spaces
api/src/handlers/spaces.ts
Subscription tiers
free / pro / team — gated by: maxPages, maxSpaces, advancedFeatures, canExport, retentionDays
Built from 17 @molecule/* packages
@molecule/api-ai-anthropic@molecule/api-ai-summarization@molecule/api-ai-summarization-llm@molecule/api-database-postgresql@molecule/api-email-templates@molecule/api-emails-mailgun@molecule/api-entitlements@molecule/api-payments-stripe@molecule/api-permissions-custom@molecule/api-resource-comment@molecule/api-resource-payment@molecule/api-resource-tag@molecule/api-resource-user@molecule/api-search-meilisearch@molecule/app-billing-react@molecule/app-markdown@molecule/app-tree-view
Required secrets
DATABASE_URLPostgreSQL connection stringMEILISEARCH_API_KEYMeiliSearch API key
The @molecule/* packages are Apache-2.0. The app you build from this template is yours to export and self-host. Licensing