202306-NEA-DZ-FEW/student-store-team-2

(Single Product Page) Comment Section

samiraTbl opened this issue · 0 comments

Task title
Comment section

Task description
add a Comment section under the products in the single product page
also create a firestor db for the comments and link them with the product ref

the Logic
Create a db for comments, and relate it with the products id,
Create another db for replies, the replies are related to the comment id,
the reply id has three fields:

  • comment ID
  • Content
  • replied_to (optional) if anyone replied to another