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

creating page to display expert's detailed profile #174

Open
samarthhapse opened this issue Jun 16, 2024 · 98 comments
Open

creating page to display expert's detailed profile #174

samarthhapse opened this issue Jun 16, 2024 · 98 comments

Comments

@samarthhapse
Copy link
Owner

samarthhapse commented Jun 16, 2024

as student sign in and selects an expert he must be able to see the complete profile page of expert (with complete data that expert have updated)

@samarthhapse
Copy link
Owner Author

@VaibhavYT started ?

@VaibhavYT
Copy link
Contributor

I am not able to sign in or up

@VaibhavYT
Copy link
Contributor

can you show some reference

@samarthhapse
Copy link
Owner Author

Have you added .env

@VaibhavYT
Copy link
Contributor

there is no script to start the server

@samarthhapse
Copy link
Owner Author

are you familiar with prior knowledge of backend APIs and fetching data from DB

@samarthhapse
Copy link
Owner Author

@VaibhavYT pls reply

@VaibhavYT
Copy link
Contributor

Yes

@VaibhavYT
Copy link
Contributor

I have

@samarthhapse
Copy link
Owner Author

firstly in server , you will need to create .env file

@samarthhapse
Copy link
Owner Author

for all these credentials there , which are the cause of your error

MONGO_URI
JWT_SECRET_KEY
MAIL_USER
MAIL_PASSWORD

@samarthhapse
Copy link
Owner Author

then run command => "node index.js"

server will start

@samarthhapse
Copy link
Owner Author

started ?

@VaibhavYT
Copy link
Contributor

not able to send the opt shows errors

@VaibhavYT
Copy link
Contributor

is there is some env file for otp like port listening

@samarthhapse
Copy link
Owner Author

have you created =>
MAIL_USER
MAIL_PASSWORD

of your own

@samarthhapse
Copy link
Owner Author

samarthhapse commented Jun 17, 2024

only one .env file for all credentials

@samarthhapse
Copy link
Owner Author

samarthhapse commented Jun 17, 2024

MONGO_URI
JWT_SECRET_KEY
MAIL_USER
MAIL_PASSWORD

have you added all these credentials of your own properly in .env file

@VaibhavYT
Copy link
Contributor

yes I have added

@VaibhavYT
Copy link
Contributor

DB is connected but on otp verification it is showing error

@samarthhapse
Copy link
Owner Author

you mail password may be wrong. Pls go through this video to generate mail app password

https://youtu.be/MkLX85XU5rU?si=8e---Rn-4IZej4qZ

@VaibhavYT
Copy link
Contributor

can you please give me the mail and passwod

@samarthhapse
Copy link
Owner Author

you can easily go through that video it's simple

@samarthhapse
Copy link
Owner Author

@VaibhavYT done ?

@VaibhavYT
Copy link
Contributor

NO not able to create give me sample email and pass

@samarthhapse
Copy link
Owner Author

samarthhapse commented Jun 17, 2024

started the server ?

@samarthhapse
Copy link
Owner Author

is it completed @VaibhavYT ?

@samarthhapse
Copy link
Owner Author

pls reply @VaibhavYT

@VaibhavYT
Copy link
Contributor

no

@samarthhapse
Copy link
Owner Author

961272

@samarthhapse
Copy link
Owner Author

Sign up with your email now. It is possible

@VaibhavYT
Copy link
Contributor

on filing otp shows undefined

@VaibhavYT
Copy link
Contributor

Screenshot 2024-06-18 125824

@samarthhapse
Copy link
Owner Author

try to signup by your own gmail

@samarthhapse
Copy link
Owner Author

for env file , keep my email as it is , just signup with your gmail

@samarthhapse
Copy link
Owner Author

samarthhapse commented Jun 19, 2024

@VaibhavYT what happened ? not replying

@samarthhapse
Copy link
Owner Author

@VaibhavYT What all you have to do is , just add env file in your code , which I have shared on your mail id. App is starting. Other contributors are done with this thing. And sign in and up with your own email so you can get OTPs

@VaibhavYT
Copy link
Contributor

yesterday I got too busy in others work this is why.

@VaibhavYT
Copy link
Contributor

problem is in the otp verification I will look into the code today. If I found any error then I will tell you otherwise you can share the screenshot of UI and I will build that and share the code with you.

@samarthhapse
Copy link
Owner Author

@VaibhavYT okay , but pls hurry up today

@VaibhavYT
Copy link
Contributor

sure

@samarthhapse
Copy link
Owner Author

feel free to ask doubts

@VaibhavYT
Copy link
Contributor

Same saying undefined when I try with my email id , I do not what happening with
http://localhost:5000/api/v1/expert/register
when I click to verify this url sending internal server error of 500
{
"message": "internal server error",
"err": {
"stringValue": ""register"",
"valueType": "string",
"kind": "ObjectId",
"value": "register",
"path": "_id",
"reason": {

},
"name": "CastError",
"message": "Cast to ObjectId failed for value \"register\" (type string) at path \"_id\" for model \"Expert\""

},
"success": false
}

@samarthhapse
Copy link
Owner Author

You are trying with the email I'd which is is not active

@samarthhapse
Copy link
Owner Author

Try with original and proper email

@VaibhavYT
Copy link
Contributor

ok

@samarthhapse
Copy link
Owner Author

Hello @VaibhavYT , hope you tried, but no worries. i have added the code for data retrieval. Now you can just work to make frontend better and 3D seeming

@VaibhavYT
Copy link
Contributor

Sure

@VaibhavYT
Copy link
Contributor

Should I take pull from temp branch?

@samarthhapse
Copy link
Owner Author

yeah !

@samarthhapse
Copy link
Owner Author

samarthhapse commented Jun 21, 2024

@VaibhavYT once done with doing => signin (as an expert) + signin as an student , share the screenshot of both here. I will open two new issue for UI advancements of these pages

@VaibhavYT
Copy link
Contributor

what I have to do now ? I am confused

@VaibhavYT
Copy link
Contributor

Just open the issue where you want to improve or want changes or new cool things. I will code and raise the PR.

@samarthhapse
Copy link
Owner Author

what I have to do now ? I am confused

once just fork code code from current temp branch & ensure that you are simply able to use it (login/signup) . Then I will create an issue.

@VaibhavYT
Copy link
Contributor

OKay

@VaibhavYT
Copy link
Contributor

you can open

@VaibhavYT
Copy link
Contributor

It is running fine in my system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants