Appbricx
Features

Build

  • Coding agents and MCP
  • Verify testing
  • Builder console

Data

  • Postgres database
  • Data API
  • Realtime

Users

  • Row-level security
  • Sign-in and auth
  • Payments

Logic

  • Workflows and jobs
  • AI in your app
  • Integrations

Ship and own

  • Backups and rollback
  • Hosting and domains
  • Self-host and export
All features
ShowcaseTemplatesPricingDocs
Log inStart free
  • Features
  • Showcase
  • Templates
  • Pricing
  • Docs
  • Log in

Build

  • Coding agents and MCP
  • Verify testing
  • Builder console

Data

  • Postgres database
  • Data API
  • Realtime

Users

  • Row-level security
  • Sign-in and auth
  • Payments

Logic

  • Workflows and jobs
  • AI in your app
  • Integrations

Ship and own

  • Backups and rollback
  • Hosting and domains
  • Self-host and export
  1. Home
  2. Templates
  3. Comments

Block · Collaboration

Comments

Adds a comment table attached to one of your tables (tasks, posts, lessons, listings) and a CommentThread component: replies nest under the comment they answer, typing @ suggests people to mention, authors can edit and delete their own comments, and new comments appear for everyone without a refresh. People are told in-app when they are mentioned or someone replies to them. Staff get a moderation list.

Use in AppbricxFree. Already have an account? Log in
View the files

use_template { slug: "comments" } adds

Tables
comment
Components
CommentThread
Pages
/discussion, /comments-admin
Workflows
comment-notify
Rules
4 on comment

What it adds to your app

Table comment: subject, parent, author, body, mentions. CommentThread component (threads, @mentions, edit, delete, live). A Discussion page and a staff moderation list. One workflow: notify mentions and replies.

Tables

  • comment subject_id, parent_id, author_id, body, mentions, edited_at, organisation_id

Pages

  • /discussion Discussion (‹author_role›)
  • /comments-admin Comments (@staff)

Workflows

  • comment-notify Tell people they were mentioned or replied to. On comment created

Components

  • CommentThread Threaded comments on one ‹attach_to› with replies, @mentions, edit and delete, updating live

Rules on every write

  • comment Write something before you post.
  • comment A reply belongs to the same thread as the comment it answers.
  • comment A comment keeps its author.
  • comment A comment belongs to the organisation of what it's about.

Where it attaches

Params point the template at your own tables and roles. Leave out the ones with defaults; a wrong one is refused with the options your app has.

ParamWhat it isExample
attach_toThe table whose records people comment on.task
author_roleThe role whose people write comments (their own table is the author). Optional.member
org_fieldOptional: the ref on that table naming its organisation (from organisations-and-teams). Comments then belong to that organisation and only its members read them. Optional.organisation_id

Use with your coding agent

  1. Connect the Appbricx MCP server to Claude Code, Cursor or any MCP client (quickstart).
  2. Paste the prompt. The agent reads the template, previews the merge with dry_run and shows you the diff.
  3. It applies to dev. Check it, then deploy when you are happy.
Prompt
Add the Comments template (slug "comments") to my Appbricx project. Read it with get_template, run use_template with dry_run first and show me the diff, then apply it. Ask me where it attaches if you can't tell from my contract (attach_to: comment on; author_role: who comments; org_field: organisation (optional)).
MCP call
{
  "tool": "use_template",
  "arguments": {
    "slug": "comments",
    "project_id": "<your project id>",
    "params": {
      "attach_to": "task",
      "author_role": "member",
      "org_field": "organisation_id"
    },
    "dry_run": true
  }
}
CLI
appbricx templates use comments --param attach_to=task --param author_role=member --param org_field=organisation_id --dry-run

Goes well with

  • Organisations and teams

    Block. Let people create organisations, form teams, invite colleagues by email and give them owner, admin or member roles.

    organisationteammembershipinvitation‹attach_to›.organisation_id
  • Booking calendar

    Block. Bookable time slots with capacity, a day picker, my bookings with cancel, and rules that stop double-booking.

    slotreservationSlotPickerMyReservationsreservation-count
  • Stripe subscriptions

    Block. Monthly or yearly plans paid through Stripe Checkout, with a billing page and Stripe's own billing settings.

    plansubscriptionBillingPanelsubscription-checkoutstripe-subscription-events

Your agent adds it. Appbricx runs it.

Start freeAll templates
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authPaymentsWorkflows and jobsAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcaseTemplatesPricingFor coding agentsPrivate cloudBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use