Bite-Buddy / bite-buddy-back-end

0 stars 0 forks source link

033 user controller #39

Closed KingshukR closed 10 months ago

KingshukR commented 10 months ago

Base functions for the user controller, relying on user model functions that will be developed which modify the database. I left a comment on the code regarding deleting and updating the user, as I realized this will be more complicated with checking for authentication from supabase (through a token or something) before being able to update (and then we'd have to specify more what to update). For MVP I don't think it's necessary to have these functionalities for users yet but the functions I made here can still be used for some testing purposes