Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent duplicate data in database #108

Open
ManSangSin opened this issue Jun 1, 2024 · 0 comments
Open

Prevent duplicate data in database #108

ManSangSin opened this issue Jun 1, 2024 · 0 comments

Comments

@ManSangSin
Copy link
Collaborator

As a user I want to be prevented from entering duplicate songs so that the playlist selection is unique.

Acceptance criteria:

  • When a user tries to enter a duplicate song, the user will see an error message stating "Song has already been added, please add a different song".
  • The database should not have any duplicates songs.
  • When the frontend sends a duplicate song to the backend, the backend should respond with a 400 error code to the frontend
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

No branches or pull requests

1 participant