hngprojects / hng_boilerplate_nestjs

Description
Apache License 2.0
181 stars 105 forks source link

[ENHANCEMENT] [ANCHOR : BE Python] Endpoint and structure for Catergory Based Organization for FAQ Page #920

Open Alphasome opened 2 months ago

Alphasome commented 2 months ago

Description

Modify the database structure to include categories, and updating the API to deliver FAQ entries grouped by these categories.

Acceptance Criteria

  1. Database structure is updated to include categories for FAQ entries.
  2. API is modified to return FAQs grouped by category.

Purpose

To provide the necessary back-end support for the front-end categorization of FAQs,

Requirem#ents

  1. Modify the database to include a category field for each FAQ entry.
  2. Ensure existing FAQ entries are correctly categorized.
  3. Update the API to return FAQs grouped by categories.
  4. Implement endpoints that allow for fetching all FAQs or filtering by category.

Expected Outcome

The back-end correctly organizes and delivers FAQ entries based on their categories

Nifilat commented 2 months ago

Please can this be assigned to me?