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

Make a Profile Endpoint for the Frontend Repo #13

Open
NtemKenyor opened this issue Oct 2, 2022 · 23 comments
Open

Make a Profile Endpoint for the Frontend Repo #13

NtemKenyor opened this issue Oct 2, 2022 · 23 comments
Labels
hacktoberfest inline with the celebration of open source from hacktoberfest.com Backend contribution. medium Not too Easy and definitely not too difficult.

Comments

@NtemKenyor
Copy link
Contributor

We will love to get details about a User as to make his/her Profile page dynamic.

GOAL
Give a user id
We should produce more details about the user

output = {
status: successful,
user: [id: 2, username: somebody etc],
modules: 40, 50, 67,
projects: 2, 30, 102, 
msg: Connection completed,
}

the numbers in the modules and projects section represent the module and project ids respectively.

@NtemKenyor NtemKenyor added hacktoberfest inline with the celebration of open source from hacktoberfest.com Backend contribution. medium Not too Easy and definitely not too difficult. labels Oct 2, 2022
@Riya123-code
Copy link

can i work on this issue?

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Feb 1, 2023

Hello @Riya123-code

Yes you can work on it. We would be glad to have you...

@Riya123-code
Copy link

Thank you , As the site link https://kwickerhub.com/ is not reachable can you please explain me the architecture of this project so it will help me to work on this issue in a much better way .

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Feb 2, 2023 via email

@Riya123-code
Copy link

Hello Sir,
when I am trying to register from my localhost, I am getting the error as shown below. Can you please help me out with it?
Screenshot 2023-03-21 214506

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Mar 22, 2023 via email

@Riya123-code
Copy link

Thank you for your reply, sir.
yes ,I have already cloned frontend and backend . Database setup is also done.
But if I comment mailer function I wont be getting email with the verification code that needs to be entered right after sign-up stage.
instead of commenting is there any other way to include knowledge_power.php? i have already installed composer but still couldn't solve this problem. Also I did not find much resources related to knowledge_power.php online.

@Riya123-code
Copy link

Hello sir,
above issue has been solved .I am able to display name and projects on profile page from clients and projects database table respectively. Can you please let me know from where can i get the below mentioned details of user as i could not find them in any database table.

user-title
user-description
age
location
status
joined date
user skills
bio
contributions
achievements

above mentioned details are currently hard coded on profile.html page.
waiting for your reply
thank you.

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Mar 24, 2023 via email

@Riya123-code
Copy link

yes sir even i would prefer creating seperate database table 'Profile' containing only the user details mentioned above.

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Mar 26, 2023 via email

@Riya123-code
Copy link

ok sir

@Riya123-code
Copy link

hello sir,
can you please confirm on this profile table ? is there anything i need to add or change?
image

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Mar 30, 2023 via email

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Mar 30, 2023 via email

@Riya123-code
Copy link

Np sir,
Is this fine?
image

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Mar 30, 2023 via email

@Riya123-code
Copy link

Hello sir,
Profile page is now dynamic! (data is getting fetched from projects and profile table and display on profile page).
is this ok?
image

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Apr 3, 2023 via email

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Apr 3, 2023 via email

@Riya123-code
Copy link

yes sir, i have used json format to transfer data from backend to frontend. Infect i have followed the same procedure that is used throughout the project while coding.
till now there is no php script for updating old profile . i have just entered data in dB Tabel for testing.
am i good to raise a PR?

@NtemKenyor
Copy link
Contributor Author

NtemKenyor commented Apr 4, 2023 via email

@Riya123-code
Copy link

Hello sir, I have raised PR for frontend and backend repository!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest inline with the celebration of open source from hacktoberfest.com Backend contribution. medium Not too Easy and definitely not too difficult.
Projects
None yet
Development

No branches or pull requests

2 participants