Ratings & Comments

User engagement with star ratings and comments.

Overview

DirectoryKit includes ratings and comments as optional features (controlled by feature flags).

Ratings

  • 5-star rating system on project pages
  • Average rating displayed on project cards
  • StarRating component in components/directory/
  • Stored in the ratings table

Comments

  • Threaded comments on project detail pages
  • CommentSection component in components/directory/
  • Stored in the comments table

Feature flags

// config/features.config.ts
{
  ratings: true,    // Enable/disable star ratings
  comments: true,   // Enable/disable comments
}