Implement Commenting on Articles (Seed Function) #170
Labels
EddieHub:good-first-issue
enhancement
New feature or request
hacktoberfest
help wanted
Extra attention is needed
server
related to server
Milestone
Title: Implement Commenting on Articles (Seed Function)
Description:
This GitHub issue is aimed at enhancing the commenting feature for articles through a seed function. Users will be able to comment on articles, improving the interactivity and user engagement in a test environment. The task involves creating and saving a specified number of fake comments for a given article.
Tasks:
Data Retrieval:
Comment Generation:
generateFakeComments
in theseeder/utils.ts
file to create a random number of comments within the range [min, max].Parallel Comment Saving:
Promise.all()
method to save the generated comments in parallel.Acceptance Criteria:
Additional Information:
The text was updated successfully, but these errors were encountered: