Community-Website icon indicating copy to clipboard operation
Community-Website copied to clipboard

[Frontend] Integrate Answers in Q&A Page

Open Kajol-Kumari opened this issue 1 year ago β€’ 5 comments

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 avatar May 15 '24 15:05 Kajol-Kumari

I want to work on this issue.

tejasnasre avatar May 15 '24 15:05 tejasnasre

Please Specify The API Endpoints

tejasnasre avatar May 16 '24 17:05 tejasnasre

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

Kajol-Kumari avatar May 16 '24 17:05 Kajol-Kumari

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

tejasnasre avatar May 16 '24 17:05 tejasnasre

@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

Kajol-Kumari avatar May 17 '24 03:05 Kajol-Kumari

Hello @Kajol-Kumari

Assign me the issue

BHS-Harish avatar Aug 03 '24 18:08 BHS-Harish