hngprojects / hng_boilerplate_nestjs

Description
Apache License 2.0
181 stars 105 forks source link

[FEAT]: Help Center - Get All Articles #76

Closed Solomonuche closed 1 week ago

Solomonuche commented 1 month ago

Description

This page serves as the central hub for our help center, providing users with access to a wealth of informative articles.

Acceptance Criteria

Error Response Status code: 500

{
  "success": false,
  "message": String,
  "statusCode": 500
}

Database Schema

_Table name: articlestable _articleid:

Testing

  1. Unit Tests
    • The return data for the /api/v1/topics matches the documentation.
markessien commented 1 month ago

Split into multiple tickets per operation

buka4rill commented 1 month ago

please change statusCode to status_code

NdubuisiJr commented 1 month ago

@Solomonuche Implement pagination. All FetchAll endpoints should include pagination support. The response should also include pagination meta data

{
   ...
   meta: {
     has_next: boolean,
     total: number,
     next_page: number | null,
     prev_page: number | null
  }
}
highb33kay commented 1 month ago

@Solomonuche No interest in this ticket anymore?

highb33kay commented 1 month ago

Can we reassign?

CFCIfe commented 1 month ago

Please take note about the updated route - https://github.com/hngprojects/hng_boilerplate_nestjs/issues/111#issuecomment-2235907567

Solomonuche commented 1 month ago

If no one from my team has claimed this ticket upto now, you can reassign it pls