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

(Development) : Implement Endpoint to Get Profile of Current User (Logged In User) #2

Open
rohit-zip opened this issue May 22, 2024 · 0 comments
Assignees
Labels
🧑‍💻 Development Development Related Tasks enhancement New feature or request good first issue Good for newcomers

Comments

@rohit-zip
Copy link
Member

rohit-zip commented May 22, 2024

Issue Description

Objective:

Implement an endpoint to retrieve the logged-in user's profile data following the CQRS pattern, data to get from Elasticsearch

Endpoint:

Request Body:

None

Response Body:

Create a new response in payloads/response named LoggedInUserProfile.java. Include all variables present in Profile Entity except for secretive information.

Validations:

  • Logged-in user data can be automatically extracted from @AuthenticationPrincipal.
  • Users can only retrieve their own profiles.

Rules:

  • Code should be placed in Profile Controller, Profile Service, Profile Implementation, and Profile Dao.
  • Follow the CQRS pattern without changing the project structure.
  • Do not add any new variables in Profile Entity and Document.
  • Read operations should be done from Elasticsearch

Contact:

Feel free to reach me at any of the below links:

@rohit-zip rohit-zip added enhancement New feature or request good first issue Good for newcomers 🧑‍💻 Development Development Related Tasks labels May 22, 2024
@rohit-zip rohit-zip moved this to Backlog in Bloggios - Open Source May 22, 2024
@rohit-zip rohit-zip changed the title Implement Endpoint to Get Profile of Current User (Logged In User) (Development) : Implement Endpoint to Get Profile of Current User (Logged In User) May 22, 2024
@rohit-zip rohit-zip self-assigned this May 28, 2024
@rohit-zip rohit-zip moved this from Backlog to In progress in Bloggios - Open Source May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 Development Development Related Tasks enhancement New feature or request good first issue Good for newcomers
Projects
Status: In progress
Development

No branches or pull requests

1 participant