Namanl2001 / MERN-Gurujii-dev

⭐️ Helps! in finding Tutors.
https://guru-jii.herokuapp.com/
MIT License
34 stars 85 forks source link

fixing select box #236

Closed gaurav879 closed 2 years ago

gaurav879 commented 2 years ago

@Namanl2001 Describe the bug 3 buttons have name as "All" as name.

Expected behavior Instead they should be the first name of the dropdown list

Screenshots image image image

github-actions[bot] commented 2 years ago

Hi 😄, thanks for creating your first issue at GURUJII, do read and follow the Contribution Guidelines while contributing. Someone from our team will get back here soon.

gaurav879 commented 2 years ago

@Namanl2001 Sir any idea how to fix this error image

Namanl2001 commented 2 years ago

Seems like you haven't set up and linked your local mongoDb. Please refer to readme.md once.

gaurav879 commented 2 years ago

I've already done that any other ideas ?

Namanl2001 commented 2 years ago

are you able to make some requests to the backend hosted at port 5000, using postman (or any other tool)?

As the only problem, I can understand from the above screenshot is that the frontend is not able to connect to backend

gaurav879 commented 2 years ago

No sir image image

Namanl2001 commented 2 years ago

http://localhost:5000/users is right path to fetch

try cd backend yarn start, you will see the error that your MongoDB connection is not successful. You can search and learn to set up/connect to mongo.

gaurav879 commented 2 years ago

Sir @Namanl2001 I have opened PR #238 fixing this issue.