Currently only one link for user. We can provide flexibility for them like adding multiple link such as ig, twitter, github, portfolio.
Tech:
Backend:
May be creating a table called user_social_media_url with column:
id : integer unique
type : vacha/text. value : 'instagram', 'x' (twitter), 'github', 'portfolio', 'other'
user_uuid : user uuid
Frontend:
Form: For react hook form, i propose using useFieldArry. they should input type and url. No duplicate types allow (open to discussion)
Currently only one link for user. We can provide flexibility for them like adding multiple link such as ig, twitter, github, portfolio.
Tech: Backend: May be creating a table called user_social_media_url with column:
id
: integer uniquetype
: vacha/text. value : 'instagram', 'x' (twitter), 'github', 'portfolio', 'other'user_uuid
: user uuidFrontend: Form: For react hook form, i propose using useFieldArry. they should input type and url. No duplicate types allow (open to discussion)