sef-global / scholarx-backend

This is the backend of the ScholarX
MIT License
11 stars 41 forks source link

Bugfix/issue 136 paginated routes #159

Closed dsmabulage closed 3 months ago

dsmabulage commented 3 months ago

Purpose

The purpose of this PR is to fix #136

Goals

The goal is to implement pagination for necessary GET routes to improve performance and usability.

Approach

Pagination will be added to the required GET routes by modifying the existing query handling mechanisms. This will involve updating the controller methods to accept pagination parameters and adjust the database queries accordingly. Additionally, the response structure will be modified to include pagination metadata such as total pages, current page, and items per page.

Screenshots

Checklist

Related PRs

## Test environment ## Learning