ClaireRoush / ReactGirlySocialNetwork

A smol social network for cuties!!
https://rgsn.live
4 stars 1 forks source link

Remove or change purpose of /me #29

Open OlegSuperBro opened 3 weeks ago

OlegSuperBro commented 3 weeks ago

On frontend it's litteraly just /userProfile but without "Add to contacts" button It can be removed or replaced as "Page settings" or smth. For example move status/pronouns to it instead of settings

On backend there are also only one difference: userProfileByUsername check if user exists and me doesn't. /me endpoint can be removed or merged to userProfileByUsername (if no data provided send user data who requested it)

OlegSuperBro commented 3 weeks ago

I forgot to say. To check your own profile /userProfile with some conditional rendering can be used

ClaireRoush commented 3 weeks ago

Yeah, that happened because in the past we used /me for settings button and something, but after adding navbar we are no longer use settings button here.

ClaireRoush commented 2 weeks ago

Same for register and login btw.