[Feat] Implement a FAQ forum #465
Labels
enhancement
New feature or request
gssoc-ext
GirlScript Summer of Code Extended 2024
hacktoberfest-accepted
Hacktoberfest
level3
GirlScript Summer of Code Level 3 Issue
Description
In the FAQ forum, questions about the website can be raised by the users who are authenticated and other users can answer that particular question and the question and answer will be reflected in a new forum page. I will implement this functionality end to end with the frontend and backend logic with Q&A schema of DB, email functionality, etc
PR1:
Schema Definition: The schema for
Question
andAnswer
has been added to the database.Backend Actions:
createQuestion
: A backend action that allows authenticated users to create questions.createAnswer
: A backend action that allows authenticated users to answer questions.getAnsweredQuestions
: A backend action to fetch all answered questions, available to all users.getUnansweredQuestions
: A backend action to fetch all unanswered questions, available to all users.deleteQuestion
: A backend action to delete a specific question along with its related answers. This is an admin-only action.API Endpoints:
PR2:
Additionally, appropriate messages are shown to unauthenticated users in sections where authentication is required.
Screenshots
No response
Checklist
The text was updated successfully, but these errors were encountered: