Discussion Boards
Communication · React + Node (Express) · 20 @molecule/* packages
Discourse-like forums with categories, threads, moderation, markdown, and user reputation — with built-in Stripe-backed subscription tiers
Try it
Opens instantly. Runs on sample data, so changes reset on reload.
What is inside
Screens (15)
- Landing
/ - Login
/login - Signup
/signup - ForgotPassword
/forgot-password - ResetPassword
/reset-password - CategoriesList
/c(signed in) - CategoryDetail
/c/:slug(signed in) - ThreadView
/t/:id(signed in) - Compose
/compose(signed in) - UserProfile
/u/:username(signed in) - Settings
/settings(signed in) - Search
/search(signed in) - Notifications
/notifications(signed in) - Bookmarks
/bookmarks(signed in) - ModerationQueue
/moderation(signed in)
Data model (13 tables)
- activities — id, actorId, action, resourceType, resourceId, metadata, createdAt
- activity_seen_status — userId, lastSeenActivityId, updatedAt
- bookmarks — id, user_id, target_type, target_id, created_at, updated_at, updatedAt
- categories — id, slug, name, description, color, icon, sort_order, thread_count, …
- comments — id, resourceType, resourceId, userId, parentId, body, editedAt, createdAt, …
- devices — id, createdAt, updatedAt, userId, name, pushPlatform, pushSubscription, hasPushSubscription
- follows — id, followerId, targetType, targetId, createdAt, updatedAt
- moderation_reports — id, target_type, target_id, reporter_id, user_id, reason, description, status, …
- posts — id, topic_id, author_id, user_id, body_markdown, parent_post_id, is_solution, edited_at, …
- reactions — id, resourceType, resourceId, userId, type, createdAt, updatedAt
- resource_tags — id, tagId, resourceType, resourceId, createdAt
- tags — id, name, slug, color, description, createdAt, updatedAt
- topics — id, slug, title, body_markdown, category_id, author_id, user_id, status, …
API (8 handlers)
- aliases
api/src/handlers/aliases.ts - bookmarks
api/src/handlers/bookmarks.ts - categories
api/src/handlers/categories.ts - moderation
api/src/handlers/moderation.ts - notifications
api/src/handlers/notifications.ts - posts
api/src/handlers/posts.ts - topics
api/src/handlers/topics.ts - users-2fa
api/src/handlers/users-2fa.ts
Subscription tiers
free / pro / team — gated by: maxCategories, maxPosts, maxTopics, advancedFeatures, canExport, retentionDays
Built from 20 @molecule/* packages
@molecule/api-content-moderation@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-activity-feed@molecule/api-resource-comment@molecule/api-resource-follow@molecule/api-resource-payment@molecule/api-resource-reaction@molecule/api-resource-tag@molecule/api-resource-user@molecule/api-search-meilisearch@molecule/app-billing-react@molecule/app-command-palette@molecule/app-data-table@molecule/app-markdown@molecule/app-virtual-scroll
Required secrets
DATABASE_URLPostgreSQL connection stringMAILGUN_API_KEYMailgun API key for notifications
The @molecule/* packages are Apache-2.0. The app you build from this template is yours to export and self-host. Licensing