Skip to content

Backend - Add & Test Comment CRUD - #36

Merged
alisryan merged 7 commits into
mainfrom
backend/comments/eric
Oct 22, 2025
Merged

alisryan merged 7 commits into
mainfrom
backend/comments/eric

Conversation

@eric-kitagawa

@eric-kitagawa eric-kitagawa commented Oct 12, 2025

Copy link
Copy Markdown
Contributor

Description

Link to Ticket

Created CRUD for comments.

  • Update and delete require the same user profile associated with its creation

How Has This Been Tested?

Created endpoint tests

Checklist

  • I have performed a self-review of my code
  • I have reached out to another developer to review my code
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes

userId String @db.Uuid
movieId String
stars Int
comments String[] @default([])

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please note this change I made to ratings as well. Feels more intuitive to represent this as a list. Little unsure of how to actually reference the comment objects, but I assume it's juts gonna be a list of id's and we can figure from there.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sike this is changed dramatically. added child and parent fields for threading

@danctila danctila linked an issue Oct 20, 2025 that may be closed by this pull request
@alisryan
alisryan merged commit 260ae47 into main Oct 22, 2025
@eric-kitagawa
eric-kitagawa deleted the backend/comments/eric branch November 4, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backend: Comments

2 participants