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

Implement Profile Enpoint for Authenticated Users #681

Open
3 of 4 tasks
ceydanursen opened this issue Nov 23, 2024 · 2 comments
Open
3 of 4 tasks

Implement Profile Enpoint for Authenticated Users #681

ceydanursen opened this issue Nov 23, 2024 · 2 comments
Assignees
Labels
app: be Backend related issues or PRs pri: high High priority issue

Comments

@ceydanursen
Copy link
Contributor

ceydanursen commented Nov 23, 2024

🧱 Description

A new endpoint is required to manage user profile data in the application. This endpoint should allow authenticated users to retrieve and update their profile information. The profile should include details such as the user's name, email, avatar, and other relevant fields.

To be reviewed by: @meminciftci

📋 Acceptance Criteria

  • Authenticated users can retrieve their profile data using a GET request.
  • Authenticated users can update their profile using a PATCH request.
  • Tests are written and pass for all scenarios.
  • Swagger documentation is available for the endpoint.
@ceydanursen ceydanursen added app: be Backend related issues or PRs pri: high High priority issue labels Nov 23, 2024
@ceydanursen ceydanursen added this to the Customer Milestone 2 milestone Nov 23, 2024
@ceydanursen
Copy link
Contributor Author

I have implemented profile page (serializers and views). After working with Ozan, we decided to use user_id for delete profile.

@ceydanursen
Copy link
Contributor Author

Also some extra checks to ensure only the user can delete his/her profile should be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: be Backend related issues or PRs pri: high High priority issue
Projects
None yet
Development

No branches or pull requests

2 participants