-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
Type: Feature RequestNew feature or requestNew feature or request
Description
Right now, we have a user profile table in the DB and schemas for it, but no routes to manage it.
Tasks:
- Add a route for creating a user profile for new users, ideally used by the page right before the survey, call it /api/profiles/create, it will be a post method, use bearer token
- Add a route for updating an already existing profile for pre-existing users, ideally used by the profiles page, call it /api/profiles/update, it will be a post method, use bearer token
- Add a route for fetching a user's profile, useful for when you are trying to view a user you are matched against, no need for authorization with a bearer token, call it /api/profiles/get/{id}
- Updated User ORM to also return their connected profile with their user table
- Updated /api/auth/me to also return the profile of the user so that it can be used on the profile page also side the survey
Metadata
Metadata
Assignees
Labels
Type: Feature RequestNew feature or requestNew feature or request