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

Adding User profile backend #166

Open
NOOB-3301 opened this issue Jan 12, 2025 · 5 comments
Open

Adding User profile backend #166

NOOB-3301 opened this issue Jan 12, 2025 · 5 comments
Labels
enhancement New feature or request SWOC

Comments

@NOOB-3301
Copy link

NOOB-3301 commented Jan 12, 2025

Features to add:

  1. i want to add api endpoints for fetching user profile.
  2. user participated quizes
  3. user created quizes

Please assign me this under swoc @BhattAnsh @Wahid7852 @techy4shri

here is my approach:

Api endpoints: I will make sure to keep the enpoints consistent throught the code base .
For example /profile/getprofile will get the user profile by jwt tokens. (which are using in the auth cobtrollers)
2.Code structure: I make sure to keep the code structure as it is now.

TechStack: i Will be consistent using techstack. like i will be using express for server and mongodb for database.

addition tech: i plan to make a edit profile controller which will be taking the field user want to edit . i will also include user pfp there so for that i will be using cloudinary for clod store option as storing images directly in db causes inefficiency

Production env: I also make sure the changes i will make it will be production env compatible

And for where it will be helping. This will be helping for getting the user details and show then in the frontend.

thank you.

@techy4shri
Copy link
Collaborator

You need to explain your approach too, apart from listing the features you want to add, how will you approach it, what tech stack you will use and how this helps.

@NOOB-3301
Copy link
Author

NOOB-3301 commented Jan 12, 2025

@techy4shri @Wahid7852
here is my approach:

  1. Api endpoints: I will make sure to keep the enpoints consistent throught the code base .
    For example /profile/getprofile will get the user profile by jwt tokens. (which are using in the auth cobtrollers)

2.Code structure: I make sure to keep the code structure as it is now.

  1. TechStack: i Will be consistent using techstack. like i will be using express for server and mongodb for database.

  2. addition tech: i plan to make a edit profile controller which will be taking the field user want to edit . i will also include user pfp there so for that i will be using cloudinary for clod store option as storing images directly in db causes inefficiency

  3. Production env: I also make sure the changes i will make it will be production env compatible

And for where it will be helping. This will be helping for getting the user details and show then in the frontend.

thank you.

@NOOB-3301
Copy link
Author

You need to explain your approach too, apart from listing the features you want to add, how will you approach it, what tech stack you will use and how this helps.

@techy4shri

@techy4shri
Copy link
Collaborator

Wait for the PA to respond. And avoid mentioning us repeatedly as we will be responding as soon as we can and mentioning us won't speed up responses. This is an open-source project and we are all full-time students and/or working professionals.
Thank you for your understanding.

@BhattAnsh
Copy link
Owner

@NOOB-3301 I am assigning this issue to you but make sure that the code should be clean working and do not change any other file if it is not necessary also make proper api so that frontend developers can work easily on this.

@BhattAnsh BhattAnsh added enhancement New feature or request SWOC labels Jan 14, 2025
@NOOB-3301 NOOB-3301 removed their assignment Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SWOC
Projects
None yet
Development

No branches or pull requests

3 participants