Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user details endpoints #328

Open
2 of 5 tasks
melihakpinar opened this issue Oct 21, 2024 · 2 comments
Open
2 of 5 tasks

Add user details endpoints #328

melihakpinar opened this issue Oct 21, 2024 · 2 comments
Assignees
Labels
Action Item A specific task requiring attention Backend Priority: Medium Needs to be done without wasting much time.

Comments

@melihakpinar
Copy link
Contributor

melihakpinar commented Oct 21, 2024

ℹ️ Description
This issue involves adding a new field for the user's bio in the User model and implementing two new endpoints: GetUserDetails and EditUserDetails. Users will be able to edit their email, profile picture, bio, and tag through these endpoints.

🎯 Tasks

  • Add a bio field to the User model.
  • Implement the GetUserDetails endpoint to retrieve user information.
    After 1st milestone:
  • Move get-user-details endpoint from /api/auth to /api/user.
  • Change request type of get-user-details from POST to GET.
  • Implement the set-user-details endpoint to allow users to update their email, profile picture, bio, and tag.
@melihakpinar melihakpinar added Priority: Medium Needs to be done without wasting much time. Action Item A specific task requiring attention Backend labels Oct 21, 2024
@melihakpinar melihakpinar self-assigned this Oct 22, 2024
@melihakpinar
Copy link
Contributor Author

Completed the first 2 tasks. See #329

@melihakpinar
Copy link
Contributor Author

I am leaving this issue to @NazlicanAka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Action Item A specific task requiring attention Backend Priority: Medium Needs to be done without wasting much time.
Projects
None yet
Development

No branches or pull requests

2 participants