You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the frontend, we want to show user profile information such as joined_date (maybe some more in the future). To do so we need to query auth db so we need to have API for it: /auth/get_profile?username=core.
Acceptance criteria
I can hit /auth/get_profile?username=core and get profile information about the user
Tasks
add a blueprint in auth/blueprints.py
add get_user_profile_by_username method in controllers
reuse get_user_by_username method for querying db
The text was updated successfully, but these errors were encountered:
* [controller][s]: method for getting user profile by username - refs #18
* [bluprint][xs]: a blueprint for `/auth/get_profile?username=...` api - refs #18
* [get-user-profile][xs]: exposing only user id and join date now - refs #18
In the frontend, we want to show user profile information such as
joined_date
(maybe some more in the future). To do so we need to query auth db so we need to have API for it:/auth/get_profile?username=core
.Acceptance criteria
/auth/get_profile?username=core
and get profile information about the userTasks
auth/blueprints.py
get_user_profile_by_username
method in controllersget_user_by_username
method for querying dbThe text was updated successfully, but these errors were encountered: