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

[Frontend] Integrate Answers in Q&A Page #885

Closed
Kajol-Kumari opened this issue May 15, 2024 · 6 comments · Fixed by #1106 · May be fixed by #939
Closed

[Frontend] Integrate Answers in Q&A Page #885

Kajol-Kumari opened this issue May 15, 2024 · 6 comments · Fixed by #1106 · May be fixed by #939
Assignees
Labels
frontend This issue is related to frontend gssoc GSSoC'24 Label level2 Bug fixing, adding small features.

Comments

@Kajol-Kumari
Copy link
Member

Kajol-Kumari commented May 15, 2024

Description

Currently the Q&A page only have the question list and form to submit the questions. There should be a way to see all the answers of the particular question sorted by the number of upvotes

##Expectation
Integrate the get answers api, filter the ones having isApproved as true and display it in nice way on the UI
Get Answers api - https://github.com/HITK-TECH-Community/Community-Website/blob/main/backend/app/routes/Q%26A/answers/getAnswers.js

Screenshot 2024-05-15 at 8 57 48 PM
@Kajol-Kumari Kajol-Kumari added level2 Bug fixing, adding small features. gssoc GSSoC'24 Label labels May 15, 2024
@Kajol-Kumari Kajol-Kumari added the frontend This issue is related to frontend label May 15, 2024
@TejasNasre
Copy link
Contributor

I want to work on this issue.

@TejasNasre
Copy link
Contributor

Please Specify The API Endpoints

@Kajol-Kumari
Copy link
Member Author

the endpoints are already mentioned in the issue description, please go through it.

@TejasNasre
Copy link
Contributor

i am hitting api like this http://localhost:3000/answers/getanswers/624004398d58c808d8f01dec but not getting any answer

@Kajol-Kumari
Copy link
Member Author

@TejasNasre use https://community-website-backend.onrender.com/ as the baseUrl, in your local, its will not connect to actual db so won’t get the data

@BHS-Harish
Copy link
Contributor

Hello @Kajol-Kumari

Assign me the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend This issue is related to frontend gssoc GSSoC'24 Label level2 Bug fixing, adding small features.
Projects
None yet
3 participants