Skip to content

social

Social features, posts, comments, reactions, follows, and bookmarks. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Terminal window
nself license set nself_pro_xxxxx...
nself plugin install social

Adds a complete social layer to your application. Users can post content, comment on posts, react with emoji, follow other users, and bookmark content. All social data is stored in Postgres and tracked in Hasura GraphQL. Integrates with the activity-feed plugin for personalized feed generation.

Env VarDefaultDescription
SOCIAL_PORT3502Social service port
SOCIAL_MAX_POST_LENGTH2000Max characters per post
SOCIAL_REACTIONS_ENABLEDtrueEnable reaction system
SOCIAL_MODERATION_ENABLEDtrueEnable content moderation
PortPurpose
3502Social REST API

7 tables added to your Postgres database:

  • np_social_posts: post content
  • np_social_comments: comment threads
  • np_social_reactions: emoji reactions
  • np_social_follows: follow relationships
  • np_social_bookmarks: saved/bookmarked content
  • np_social_shares: reshare records
  • np_social_mentions: @mention records
RouteTarget
/social/Social REST API