samarthhapse / sarthi

49 stars 82 forks source link

creating page to display expert's detailed profile #174

Open samarthhapse opened 3 months ago

samarthhapse commented 3 months ago

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 commented 3 months ago

@VaibhavYT started ?

VaibhavYT commented 3 months ago

I am not able to sign in or up

VaibhavYT commented 3 months ago

can you show some reference

samarthhapse commented 3 months ago

Have you added .env

VaibhavYT commented 3 months ago

there is no script to start the server

samarthhapse commented 3 months ago

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

samarthhapse commented 3 months ago

@VaibhavYT pls reply

VaibhavYT commented 3 months ago

Yes

VaibhavYT commented 3 months ago

I have

samarthhapse commented 3 months ago

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

samarthhapse commented 3 months ago

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

MONGO_URI JWT_SECRET_KEY MAIL_USER MAIL_PASSWORD

samarthhapse commented 3 months ago

then run command => "node index.js"

server will start

samarthhapse commented 3 months ago

started ?

VaibhavYT commented 3 months ago

not able to send the opt shows errors

VaibhavYT commented 3 months ago

is there is some env file for otp like port listening

samarthhapse commented 3 months ago

have you created => MAIL_USER MAIL_PASSWORD

of your own

samarthhapse commented 3 months ago

only one .env file for all credentials

samarthhapse commented 3 months ago

MONGO_URI JWT_SECRET_KEY MAIL_USER MAIL_PASSWORD

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

VaibhavYT commented 3 months ago

yes I have added

VaibhavYT commented 3 months ago

DB is connected but on otp verification it is showing error

samarthhapse commented 3 months ago

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 commented 3 months ago

can you please give me the mail and passwod

samarthhapse commented 3 months ago

you can easily go through that video it's simple

samarthhapse commented 3 months ago

@VaibhavYT done ?

VaibhavYT commented 3 months ago

NO not able to create give me sample email and pass

samarthhapse commented 3 months ago

started the server ?

samarthhapse commented 3 months ago

is it completed @VaibhavYT ?

samarthhapse commented 3 months ago

pls reply @VaibhavYT

VaibhavYT commented 3 months ago

no

samarthhapse commented 3 months ago

@VaibhavYT Server is starting or not ?

VaibhavYT commented 3 months ago

same otp error

VaibhavYT commented 3 months ago

I am not able to build the app password

samarthhapse commented 3 months ago

@VaibhavYT sent you app password , see above

samarthhapse commented 3 months ago

@VaibhavYT sharing it again

mail : samarthmanojhapse96.0@gmail.com

App Password : ubiwzxytmpegnpzc

VaibhavYT commented 3 months ago

OK Let me try

VaibhavYT commented 3 months ago

Screenshot 2024-06-17 204905 Screenshot 2024-06-17 204833

samarthhapse commented 3 months ago

@VaibhavYT pls share screenshot of .env

VaibhavYT commented 3 months ago

Screenshot 2024-06-17 212729

samarthhapse commented 3 months ago

from where you copied the JWT key

VaibhavYT commented 3 months ago

randomly written

VaibhavYT commented 3 months ago

from where I can get key?

samarthhapse commented 3 months ago

there is the problem , you need to create one

samarthhapse commented 3 months ago

btw, currently I am sharing my key , you can use it for now => 23142424

VaibhavYT commented 3 months ago

okay passed as a string?

samarthhapse commented 3 months ago

don't pass as string

samarthhapse commented 3 months ago

enter normally

VaibhavYT commented 3 months ago

ok

VaibhavYT commented 3 months ago

other field are correct n?

samarthhapse commented 3 months ago

yes

samarthhapse commented 3 months ago

@VaibhavYT pls do not go offline , let us clear all your doubts now only