HoldUpFjord / Link-Manager

Goal: Create a link manager that can store tabs on a server to be accessed later. 100Devs
2 stars 6 forks source link

Back-End - no duplicate links per user. #23

Open TheWoodenMan opened 2 years ago

TheWoodenMan commented 2 years ago

image

  1. Logic is needed to prevent the creation of duplicates (per user, bear in mind some users may bookmark the same link as another! which needs to be permitted)

    a check on the database before creating a new one would cover this, but needs to include a search for user and either title or link - we need think about which one.

Gonksy commented 2 years ago

I was thinking about this today. I think what will do is checking if a tab exists with both a matching userid and link, if it does, return a message saying tab already exists.