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
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